Skip to content

feat(api): add progress spinner for async operation - #7

Merged
rfprod merged 1 commit into
mainfrom
enhance-io
Oct 5, 2026
Merged

rfprod merged 1 commit into
mainfrom
enhance-io

Conversation

@rfprod

@rfprod rfprod commented Oct 5, 2026

Copy link
Copy Markdown
Owner
  • implement a ProgressSpinner class to display progress during CURL operations;
  • display spinning animation for indeterminate transfers and percentage progress;
  • integrate progress callback into OllamaClient::curl_request();
  • add trim_response() method to clean whitespace from JSON responses;
  • improve console output with Unicode indicators (✅, 🦙, 🛈) for readability;
  • refactor variable names in main.cpp for clarity (model_arg → model, etc.);
  • update CMakeLists.txt to include progress_spinner.cpp;
  • provide visual feedback during potentially long-running HTTP requests.

@rfprod rfprod self-assigned this Oct 5, 2026
@rfprod rfprod added Refactor Refactoring related changes. Feature New feature implementation related changes. Program Main program logic related changes. labels Oct 5, 2026
@rfprod
rfprod enabled auto-merge (squash) October 5, 2026 17:21
- [x] implement a ProgressSpinner class to display progress during CURL operations;
- [x] display spinning animation for indeterminate transfers and percentage progress;
- [x] integrate progress callback into OllamaClient::curl_request();
- [x] add trim_response() method to clean whitespace from JSON responses;
- [x] improve console output with Unicode indicators (✅, 🦙, 🛈) for readability;
- [x] refactor variable names in main.cpp for clarity (model_arg → model, etc.);
- [x] update CMakeLists.txt to include progress_spinner.cpp;
- [x] provide visual feedback during potentially long-running HTTP requests.
@rfprod
rfprod merged commit 957b2bd into main Oct 5, 2026
1 check passed
@rfprod
rfprod deleted the enhance-io branch October 5, 2026 17:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Feature New feature implementation related changes. Program Main program logic related changes. Refactor Refactoring related changes.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant