Closed ghostofpokemon closed 2 months ago
Really appreciate the work put into the llm cli. I also direly need the increased max_tokens implemented in this PR. Is there any plan on merging this PR in the near future?
My apologies, I shipped this feature just now without noticing your PR!
This is now released in 0.4.1.
Hey Simon,
I've made some updates to support the new 8192 token limit for Claude 3.5 Sonnet. Here's what's changed:
Updated
max_tokens
handling inClaudeMessages.execute()
:prompt.options.max_tokens
if specified, falling back to these defaultsAdded the required beta header for Claude 3.5 Sonnet:
Changed
max_tokens
default inClaudeOptions
toNone
for more flexibilityThese changes maintain backwards compatibility while enabling the new token limit for Claude 3.5 Sonnet. I've tested the changes and they appear to be working as expected.
Let me know if you need any further information or if you'd like me to make any adjustments.
Thanks for considering this PR!
𝕏 @NickMystic_