-
Notifications
You must be signed in to change notification settings - Fork 2
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 support for --token-usage/-t flag #12
Conversation
…dded to fetch_clue_collection()
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great contribution! Mostly consistent with the rest of the code. I had a few nitpicks for you to consider. See the inline comments for details.
Let me know if you have questions or different ideas!
…ion struct, ClueCollection Constructor updated
…ed via ClueCollection
All changes done according to your nitpicks |
Perfect! GitHub Actions failed only because the API key is configured as a repository secret. But the code is good. Will merge now. |
This pull request implements/ fixes issue #11
What changed
fetch_clue_collection()
now returns additional objectUsage
, instead of justClueCollection
Usage
that is being passed toChatCompletionResponse
token usage
tostderr