How to pass third party parameters? (Openrouter - include_reasoning) #4907
Replies: 1 comment
-
include the parameters in the extraBody when instantiating the client |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm using Openrouter as my only provider for all the LLMs. They have a parameter "include_reasoning" that I need to set to true to get the models' reasoning tokens. How can I do this using
streamText()
?Here's the documentation.
Beta Was this translation helpful? Give feedback.
All reactions