Skip to content

如何使用gemini #578

Answered by swuecho
mouyase asked this question in Q&A
Discussion options

You must be logged in to vote

参考以下配置导入模型, 需要添加 GEMINI_API_KEY 这个环境变量

{"id":5862,"name":"gemini-2.0-flash-thinking-exp-1219","label":"gemini-2.0-flash-thinking-exp-1219","isDefault":false,"url":"https://generativelanguage.googleapis.com/v1beta/models/gemini-2.0-flash-thinking-exp-1219","apiAuthHeader":"GEMINI_API_KEY","apiAuthKey":"GEMINI_API_KEY","enablePerModeRatelimit":false,"maxToken":4096,"defaultToken":4096,"orderNumber":0,"httpTimeOut":0,"isEnable":true}
{"id":5693,"name":"gemini-2.0-flash-exp","label":"gemini-2.0-flash-exp","isDefault":true,"url":"https://generativelanguage.googleapis.com/v1beta/models/gemini-1.5-flash-8b","apiAuthHeader":"GEMINI_API_KEY","apiAuthKey":"GEMINI_API_KEY",enablePerModeRatelimit":f…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by swuecho
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants