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

update aws claude token usage #1569

Merged
merged 1 commit into from
Nov 4, 2024
Merged

update aws claude token usage #1569

merged 1 commit into from
Nov 4, 2024

Conversation

better629
Copy link
Collaborator

Features

Feature Docs

Influence

  • rough estimation for models newer than claude-2.1

Result

2024-11-04 14:05:38.250 | INFO     | __main__:ask_and_print:15 - Q: what's your name?
My name is Claude.
2024-11-04 14:05:40.171 | INFO     | metagpt.utils.cost_manager:update_cost:57 - Total running cost: $0.000 | Max budget: $10.000 | Current cost: $0.000, prompt_tokens: 14, completion_tokens: 5

Other

@geekan geekan merged commit 99c1f95 into geekan:main Nov 4, 2024
1 of 3 checks passed
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