Setting defaultParamsEndpoint: 'google' still uses openai format request #8706
Unanswered
a15355447898a
asked this question in
Troubleshooting
Replies: 1 comment 2 replies
-
This is a misunderstanding, as the documentation states:
This is just for the purpose of showing different parameter sets. If you wish to make non-openai spec. requests, you need to setup google directly: https://www.librechat.ai/docs/configuration/pre_configured_ai/google |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
What happened?
According to the documentation, with this parameter set, the api endpoint and api format of the call should be gemini format, not openai format.
I refer to the documentation: https://www.librechat.ai/docs/configuration/librechat_yaml/object_structure/custom_params#picking-a-default-parameters-set
Modified my
librechat.yaml
configuration as follows (I tried my gemini format baseurl and found that it didn't work, only to find out that I could only use openai format)The request discovery call is in openai's Responses format and in the old version format, not in gemini's format.
Tool calls also do not follow the gemini format
https://ai.google.dev/gemini-api/docs/google-search?hl=zh-cn#rest
Version Information
Steps to Reproduce
librechat.yaml
to setdefaultParamsEndpoint: 'google'
What browsers are you seeing the problem on?
Firefox
Relevant log output
Screenshots
No response
Code of Conduct
Beta Was this translation helpful? Give feedback.
All reactions