支持gemini吗? #105
Answered
by
KenyonY
CN-Steve-Lee
asked this question in
Q&A
支持gemini吗?
#105
-
|
支持gemini API的转发吗 |
Beta Was this translation helpful? Give feedback.
Answered by
KenyonY
Jan 12, 2024
Replies: 1 comment 3 replies
-
|
刚刚更新了README: 代理其它云端模型 原则上使用 |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
确实这个项目的文档写得比较糟糕...
使用
aifd run启动时,就可以在/openai1访问到http://xxx1 的内容,在/openai2访问到 http://xxx2 的内容。OPENAI_BASE_URL与EXTRA_BASE_URL的区别主要是在对转发内容的解析上,EXTRA_BASE_URL不对转发内容进行解析和定制,可以转发任何内容,所以建议对非openai格式的服务EXTRA_BASE_URL来转发。如果希望用python启动也是可以的,
aifd run等同于python -m openai_forward.__main__ run