Repository navigation
OpenManus with Gemini 2 million token #714
Replies: 18 comments 1 reply
|
how much you pay? |
|
Gemini 2.0 is free. You can create an API key here. |
|
can you shows the config example without your real api key? it's not working for me and shows |
|
Can you show which api base url you used for Gemini? |
` Global LLM configuration Optional configuration for specific LLM models ` |
2025-03-10 09:01:08.741 | ERROR | app.llm:ask_tool:256 - Authentication failed. Check API key. |
if I use |
This Config works for me: taken from https://ai.google.dev/gemini-api/docs/openai#python |
Look Here: https://ai.google.dev/gemini-api/docs/openai#python |
Thanks! It's working. |
But there is other problems: |
Thanks,i have supply one |
|
can we use thinking models as well? |
|
thank you for the config, that work, but that leads to rate limiting errors, now this is free 1mil token api, so it cannot be on server side and from the front side I see only one or more actual request made, so something is off in that setup |
|
Using gemini api will end up with: Validation error in ask_tool: Message must contain either 'content' or 'tool_calls' |
You can easily bypass this by editing app/agent/toolcall.py. Add this call into a file then add a while clause before calling the LLM. It will try to call LLM until it provides any action to take. Sometimes, LLM is not able to provide the next steps, so we end up with the issue. |
Would this resolve an issue with "Error in PlanningFlow: Parameter 'title' is required for command: create"? |
|
If gemini allows millions of tokens, why keep max_tokens = 4096? Wasn't it supposed to be max_token= 1056768? |
Uh oh!
There was an error while loading. Please reload this page.
I manage to use with Gemini 2.0 with 2 million token. Very useful projects.
All reactions