https://www.boundaryml.com logo
🟑 Question about Gemini's functionality
# questions
j
Hi, all - we are using OnTick to capture thinking text using Anthropic. I would like to migrate one of our calls to Gemini - does that have the same functionality?
v
Yep exactly!
You just need to make sure you navigate the actual http response there
We don’t do any standardizing
For thinking tokens
So may need an if condition based on provider
j
Thank you for the help. Is there anythin I need to do to enable it? I am receiving responses from Gemini but the OnTick function is not being called
let me get you a bit more info.
@Vaibhav (BAML πŸ‘) I enabled the thinking text in the Gemini config
Copy code
generationConfig {
      thinkingConfig {
        includeThoughts true
        thinkingBudget -1
      }
    }
And so now I see the thinking text - but it is coming through in the in the llm reply not the onTick function
this is being used without the streaming client