Comments (10)
最近处理
from one-api.
新版本已经支持了
你是怎么部署的 我重新部署了 还是这个问题?
- 在你部署的机子上设置环境变量 GEMINI_VERSION='v1beta' (建议设置为永久变量,如果不会设置可以咨询gpt3)
- 重新部署你的one-api项目
- 设置google渠道模型 gemini-1.5-pro
- 设置模型重定向
{ "gemini-1.5-pro": "gemini-1.5-pro-latest" }
from one-api.
我也遇到同样的错误,使用的是 v0.6.4-alpha.1 版本
from one-api.
这是因为gemini1.5的模型,只在谷歌/v1beta预览版目录下,而这里接入的是gemini的正式版,也就是/v1的路径
from one-api.
如何解决这个问题啊?
from one-api.
新版本已经支持了
from one-api.
新版本已经支持了
你是怎么部署的 我重新部署了 还是这个问题?
from one-api.
from one-api.
这样设置:
- 在你部署的机子上设置环境变量 GEMINI_VERSION=v1beta
- 重新部署你的one-api项目
- 设置google渠道模型 gemini-1.5-pro-latest
- 设置模型重定向
{ "gemini-1.5-pro": "gemini-1.5-pro-latest" }
from one-api.
新版本已经支持了
你是怎么部署的 我重新部署了 还是这个问题?
- 在你部署的机子上设置环境变量 GEMINI_VERSION='v1beta' (建议设置为永久变量,如果不会设置可以咨询gpt3)
- 重新部署你的one-api项目
- 设置google渠道模型 gemini-1.5-pro
- 设置模型重定向
{ "gemini-1.5-pro": "gemini-1.5-pro-latest" }
按这个设置了没有效果。
回退版本可以:
v0.6.6-alpha
from one-api.
Related Issues (20)
- 点击测试后,程序直接退出
- 文心一言 ERNIE-Lite-8K-0922调用失败 HOT 2
- 能不能加上tiktoken的离线加载 HOT 2
- v0.6.6 Berry 主题不兼容 页面会白屏 HOT 5
- 请求支持谷歌Vertex AI HOT 1
- docker版本dns解析超时 HOT 1
- 讯飞3.5无法支持function calling
- 对于模型无可用渠道时应返回404而不是503
- one api 接入 dify 在联通的情况下,报错
- 调用阿里云 通义千问api报错 HOT 3
- docker 版的怎么没有添加渠道的功能? HOT 2
- 希望增加对百度开物的支持。
- 根据环境变量设置root初始密码 HOT 2
- relay error (channel id 2, user id: 1): Open api daily request limit reached HOT 1
- 请求支持claude的tools
- 针对令牌进行 并发限制
- claude的opus的开源版和pro对不上
- azure openai不稳定,隔一会就报错、过一会又正常,do request failed HOT 1
- 请求添加百川新模型支持
- 希望可以兼容ChatTTS语音识别
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from one-api.