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

Add cost control via the new max_prompt_tokens parameter #48

Merged
merged 1 commit into from
Apr 18, 2024
Merged

Conversation

codingjoe
Copy link
Member

@codingjoe codingjoe self-assigned this Apr 18, 2024
@codingjoe codingjoe requested a review from amureki April 18, 2024 07:45
Copy link

codecov bot commented Apr 18, 2024

Codecov Report

Attention: Patch coverage is 66.66667% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 57.06%. Comparing base (b071bfb) to head (76951cb).
Report is 2 commits behind head on main.

Files Patch % Lines
sam/utils.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #48      +/-   ##
==========================================
+ Coverage   54.15%   57.06%   +2.90%     
==========================================
  Files           9       10       +1     
  Lines         325      354      +29     
==========================================
+ Hits          176      202      +26     
- Misses        149      152       +3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@amureki amureki left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@amureki amureki merged commit 1b8bf23 into main Apr 18, 2024
7 checks passed
@amureki amureki deleted the cost branch April 18, 2024 07:55
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

Successfully merging this pull request may close these issues.

2 participants