You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the official API reference, it appears that the session config has a max_output_tokens field. Submitting with this field name errors out. This codebase instead uses max_response_output_tokens, which does work. Wondering why there's a mismatch between this lib's usage and the official API reference? Also, is there a better source of truth for the latest types?
The text was updated successfully, but these errors were encountered:
In the official API reference, it appears that the session config has a
max_output_tokens
field. Submitting with this field name errors out. This codebase instead usesmax_response_output_tokens
, which does work. Wondering why there's a mismatch between this lib's usage and the official API reference? Also, is there a better source of truth for the latest types?The text was updated successfully, but these errors were encountered: