Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Add Progress Bar for Model Pulling Process #2

Open
prasad89 opened this issue Nov 6, 2024 · 0 comments
Open

Feature Request: Add Progress Bar for Model Pulling Process #2

prasad89 opened this issue Nov 6, 2024 · 0 comments

Comments

@prasad89
Copy link
Owner

prasad89 commented Nov 6, 2024

The current implementation logs progress using repeated dots with fmt.Printf, which doesn't clearly convey download progress. Adding a progress bar would improve user experience by providing more informative feedback.

Current Implementation: The code iterates through JSON responses and outputs dots for progress:
Code Link

Proposed Improvement: Replace dots with a progress bar to indicate download percentage and time remaining.

Possible Approaches:

  • Use a Go package like pb or progressbar for progress bar functionality.
  • Track downloaded bytes vs. total content length.
  • Display progress dynamically in the console.

Benefits:

  • Enhanced User Feedback: Real-time progress updates.
  • Improved UX: More informative than printing dots.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant