Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

新主题 berry 问题集中反馈贴 #912

Open
songquanpeng opened this issue Jan 7, 2024 · 77 comments · Fixed by #1282
Open

新主题 berry 问题集中反馈贴 #912

songquanpeng opened this issue Jan 7, 2024 · 77 comments · Fixed by #1282
Labels
bug Something isn't working

Comments

@songquanpeng
Copy link
Owner

songquanpeng commented Jan 7, 2024

主题 berry 启用方式:启动的时候添加环境变量 THEME=berry 即可,未来会允许直接在后台改

感谢主题作者:https://github.com/MartialBE

欢迎在此提交相关问题。


2024年4月5日:berry 主题目前相比默认主题缺失的功能:

  1. 令牌维度模型限制;
  2. 令牌维度 ip 限制;
  3. 渠道批量添加 key;
  4. 批量导出;
  5. 充值链接附加用户信息;

2024年4月24日:berry 主题目前无法使用 coze 和 aws claude 渠道,因为部分配置信息目前需要放入 config 字段内,期待有人能 PR 解决

由于个人精力有限,无法及时同步各个主题的功能,期待 PR

@songquanpeng songquanpeng added the bug Something isn't working label Jan 7, 2024
@songquanpeng songquanpeng pinned this issue Jan 7, 2024
@songquanpeng
Copy link
Owner Author

已知问题:管理员总览页面无法获取数据
YIIWP)9B1$%M%`MZ}%ZWODP_tmb

@shengshiyuanhua
Copy link

微信截图_20240107163954
这个问题感觉不太好形容 就是设置后的显示首页内容不完整 然后加载时会显示之前的页面后在进行了一个跳转

@MartialBE
Copy link
Collaborator

@songquanpeng
统计错误 是因为在修改变量名时 把 SQL中的字段名也修改了,导致SQL报错。
https://github.com/songquanpeng/one-api/blob/318adf5985c57263126ba7c8fc70d95975396cd3/model/log.go#L215C12-L215C12

@songquanpeng
Copy link
Owner Author

@songquanpeng 统计错误 是因为在修改变量名时 把 SQL中的字段名也修改了,导致SQL报错。 https://github.com/songquanpeng/one-api/blob/318adf5985c57263126ba7c8fc70d95975396cd3/model/log.go#L215C12-L215C12

确实,我的锅,我用 IDE 修改变量名称的时候没有注意

@MartialBE
Copy link
Collaborator

@songquanpeng 统计错误 是因为在修改变量名时 把 SQL中的字段名也修改了,导致SQL报错。 https://github.com/songquanpeng/one-api/blob/318adf5985c57263126ba7c8fc70d95975396cd3/model/log.go#L215C12-L215C12

确实,我的锅,我用 IDE 修改变量名称的时候没有注意

下面还有个调试的打印 我忘记删除了 🤣

@songquanpeng
Copy link
Owner Author

@songquanpeng 统计错误 是因为在修改变量名时 把 SQL中的字段名也修改了,导致SQL报错。 https://github.com/songquanpeng/one-api/blob/318adf5985c57263126ba7c8fc70d95975396cd3/model/log.go#L215C12-L215C12

确实,我的锅,我用 IDE 修改变量名称的时候没有注意

下面还有个调试的打印 我忘记删除了 🤣

确实,我之前也注意到了,但是后来改的时候又给忘了

@MartialBE
Copy link
Collaborator

修复了一些问题 #913

  • 当api返回 401时,跳转登录地址错误。 (这个问题有点奇怪,我自己项目上没有出现这个问题,切换到这边来时,跳转出错了。其实window.location.href这段代码删除也是可以的,我在 web/berry/src/utils/route-guard/AuthGuard.js也做了处理,只不过不跳转的话,在调试时会因为api请求失败导致在解析参数时报错,编译后只会在控制台抛出错误,不影响使用。
  • 普通用户后台菜单显示个人设置页面,之前错误设置为 管理员可见了。
  • 渠道添加/修改表单删除了多余的输入框,这是我自己项目里面的逻辑,迁移过来忘记删除了。

@duansix
Copy link

duansix commented Jan 7, 2024

QQ截图20240107183859
能否支持logo这里自定义修改CSS
尝试了一下 正方形(例如512px*512px)会超高
尝试了一下矩形 如图 会缩小的太严重 img标签属性写的 80 是写死的 能否支持自定义

@duansix
Copy link

duansix commented Jan 7, 2024

QQ截图20240107184120
favicon图标不能自定义 只显示主题默认的icon图标

@duansix
Copy link

duansix commented Jan 7, 2024

如果登录了账号 然后session过期的情况下 重新登陆页面会报错2个相同的信息 (目前无法截图)然后会重定向2次login

@yixiaip
Copy link

yixiaip commented Jan 8, 2024

我第一次搭建就是用的这个主题这个主题在加渠道保存鉴权key后,在编辑不显示渠道key不知道是原本逻辑就是不显示还是怎么样,

@gloryhry
Copy link

gloryhry commented Jan 8, 2024

我的arm服务器用v0.5.11的镜像启动无法打开网页,网页显示全白。不知道是不是我服务器性能问题。

@panxiaoguang
Copy link

我测试的有些问题:

  1. 重新编辑渠道后,渠道的优先级设置全部清0,
  2. 渠道优先级设置的提示信息没有了。
  3. 渠道禁用没有找到。
  4. 添加模型里面点击选择一个模型后菜单消失跳到头部,不能连续选择。
  5. GeminiPro必须设置API链接,不能使用官方默认。

@zhangbinhui
Copy link

我的arm服务器用v0.5.11的镜像启动无法打开网页,网页显示全白。不知道是不是我服务器性能问题。

我跟你一样的问题,也是arm64架构,我感觉像是bug,之前刷issue 说好像解决了,但似乎并不是在arm架构这个版本,docker 镜像估计也没更新吧。我拉源码下来自己build 镜像不成功,就卡住了。

@MartialBE
Copy link
Collaborator

我测试的有些问题:

  1. 重新编辑渠道后,渠道的优先级设置全部清0,

  2. 渠道优先级设置的提示信息没有了。

  3. 渠道禁用没有找到。

  4. 添加模型里面点击选择一个模型后菜单消失跳到头部,不能连续选择。

  5. GeminiPro必须设置API链接,不能使用官方默认。

1 优先级现在不是光标离开保存了。是要点击右侧的 笔 图标才会保存. 如果大家觉得不方便可以改回来
2 同上
3 状态的switch就是用来禁用的
4 后期优化
5 这是个bug。因为我自己项目中azure speech占用了gemini的ID。需要填写api地址。迁移过来忘记删除这个逻辑了

@MartialBE
Copy link
Collaborator

如果登录了账号 然后session过期的情况下 重新登陆页面会报错2个相同的信息 (目前无法截图)然后会重定向2次login

是的。准确来说是页面请求了几次API就会弹出几次错误信息。
api错误处理逻辑有点问题。要改一下。

@gloryhry
Copy link

gloryhry commented Jan 9, 2024

我的arm服务器用v0.5.11的镜像启动无法打开网页,网页显示全白。不知道是不是我服务器性能问题。

我跟你一样的问题,也是arm64架构,我感觉像是bug,之前刷issue 说好像解决了,但似乎并不是在arm架构这个版本,docker 镜像估计也没更新吧。我拉源码下来自己build 镜像不成功,就卡住了。

我用v0.5.10版本是正常的,但是不能切换到v0.5.11版本。

@AdamLeeN
Copy link

docker部署的时候 报错
image

@12123ads
Copy link

image
gemini的渠道地址必填

@panxiaoguang
Copy link

MartialBE

嗯,我觉得优先级还是原来的直接调整了自动保存舒服,交互比较顺畅。

@Lydanne
Copy link

Lydanne commented Jan 10, 2024

有没有API文档呢

@wfce
Copy link

wfce commented Jan 10, 2024

邀请好友双方都无赠送额度

@wfce
Copy link

wfce commented Jan 10, 2024

令牌耗尽,再次设置额度后,无法启用令牌

@Harry-zklcdc
Copy link

非https(内网部署) 的情况下,在 令牌 页面,点击 复制 按钮无反应,之前令牌会出现在搜索栏,可以自行复制

PS: 内网同时部署了 ChatGPT-Next-Web,也是 非https,但是能正常使用复制按钮,将内容复制到剪贴板中

@waloyn
Copy link

waloyn commented Jan 12, 2024

非https(内网部署) 的情况下,在 令牌 页面,点击 复制 按钮无反应,之前令牌会出现在搜索栏,可以自行复制

PS: 内网同时部署了 ChatGPT-Next-Web,也是 非https,但是能正常使用复制按钮,将内容复制到剪贴板中

berry主题没有这一栏,没法自行复制;点击复制出错后控制台的输出信息:
Uncaught TypeError: Cannot read properties of undefined (reading 'writeText') at onClick (TableRow.js:214:39) at Object.Ie (react-dom.production.min.js:54:317) at Be (react-dom.production.min.js:54:471) at react-dom.production.min.js:55:35 at Ar (react-dom.production.min.js:105:68) at zr (react-dom.production.min.js:106:380) at react-dom.production.min.js:117:104 at cu (react-dom.production.min.js:274:42) at je (react-dom.production.min.js:52:375) at Hr (react-dom.production.min.js:109:469)

@QAbot-zh
Copy link

#1189 (comment)

@QAbot-zh
Copy link

优先级现在不是光标离开保存了。是要点击右侧的 笔 图标才会保存. 如果大家觉得不方便可以改回来

优先级交互不自然,看到图标是笔,第一反应是点击(跳转)编辑,结果是点击保存,不点击文本框又是可编辑状态,编辑完Enter也没有保存逻辑。
我觉得这几种方式可能会自然,可以考虑一下:1. 编辑完Enter可以保存 2. 使用笔图标,但是不点击笔图标文本框处于不可编辑状态,点击图标才可编辑 3. 文本框处于随时可编辑状态,但是图标换成保存图标

@yanxiaochuan
Copy link

yanxiaochuan commented Mar 20, 2024

谷歌浏览器下,存在页面访问空白,需要重新刷新,怀疑是页面的某些JS懒加载导致,看了下控制台,存在JS异常
Uncaught ChunkLoadError: Loading chunk 415 failed.
(error: https://xxxx/static/js/415.be394122.chunk.js)
at n.f.j (jsonp chunk loading:27:18)
at ensure chunk:6:25
at Array.reduce ()
at n.e (ensure chunk:5:56)
at MainRoutes.js:7:37
at M (react.production.min.js:18:161)
at Ss (react-dom.production.min.js:291:292)
at xu (react-dom.production.min.js:280:389)
at yu (react-dom.production.min.js:280:320)
at gu (react-dom.production.min.js:280:180)

@wangpre
Copy link

wangpre commented Mar 23, 2024

删除个人账户 功能失效

@RexWzh
Copy link

RexWzh commented Mar 24, 2024

首屏加载速度极慢,一开始我以为是我服务器在海外的原因,特地在腾讯云重新部署了一下,结果还是一样,用sealos和render都试过,首屏更慢 这个问题貌似挺影响体验的,好像是要等整个网站内所有内容加载完了再一起显示的问题

基本应该是找到问题了,那个谷歌字体的请求占用了极长的时间,就是那个fonts.googleapis.com的请求,这个字体没必要吧?我测试了到最终也加载不出来这个

同,遇到这个问题,调用 API 不影响,但网站主页访问会因为这个加载不出来卡住。

@songquanpeng
Copy link
Owner Author

songquanpeng commented Mar 30, 2024

主题维护不是很高优,希望理解,我时间有限优先做重要的事情,期待pr,当然主题是肯定会维护的,我自己也很喜欢这个主题

@songquanpeng
Copy link
Owner Author

songquanpeng commented Mar 30, 2024

当然如果pr的话请尽量不要一次性提交过多,不然review会比较麻烦

@QAbot-zh
Copy link

QAbot-zh commented Apr 3, 2024

注意到 berry 的渠道页增加了一栏“已消耗”,但是消耗单位默认是token,要是能跟余额显示单位保持一致就更好了(设置有一个选项控制是否“以货币形式显示额度”)

image

@MartialBE
Copy link
Collaborator

#1282
更新以下功能:

  • 删除谷歌字体,内嵌字体
  • 优先级恢复离开焦点自动保存
  • 渠道批量添加
  • 添加 黑暗 模式主题
  • 支持 令牌 ip限制和模型选择
  • 支持 设置 MessagePusher
  • 支持飞书登录

@songquanpeng
Copy link
Owner Author

songquanpeng commented Apr 6, 2024

已经合并,v0.6.5-alpha.15,感谢主题作者 @MartialBE

@songquanpeng
Copy link
Owner Author

目前 berry 主题的填入相关模型一处还有点问题,这里的默认模型需要硬编码到配置文件中不好更新,现在默认主题是从 /api/models 拉取的,格式如下:

{
  "data": {
    "1": [
      "gpt-3.5-turbo",
      "gpt-3.5-turbo-0301",
      "gpt-3.5-turbo-0613",
      "gpt-3.5-turbo-1106",
      "gpt-3.5-turbo-0125",
      "gpt-3.5-turbo-16k",
      "gpt-3.5-turbo-16k-0613",
      "gpt-3.5-turbo-instruct",
      "gpt-4",
      "gpt-4-0314",
      "gpt-4-0613",
      "gpt-4-1106-preview",
      "gpt-4-0125-preview",
      "gpt-4-32k",
      "gpt-4-32k-0314",
      "gpt-4-32k-0613",
      "gpt-4-turbo-preview",
      "gpt-4-vision-preview",
      "text-embedding-ada-002",
      "text-embedding-3-small",
      "text-embedding-3-large",
      "text-curie-001",
      "text-babbage-001",
      "text-ada-001",
      "text-davinci-002",
      "text-davinci-003",
      "text-moderation-latest",
      "text-moderation-stable",
      "text-davinci-edit-001",
      "davinci-002",
      "babbage-002",
      "dall-e-2",
      "dall-e-3",
      "whisper-1",
      "tts-1",
      "tts-1-1106",
      "tts-1-hd",
      "tts-1-hd-1106"
    ],
    "10": [
      "gpt-3.5-turbo",
      "gpt-3.5-turbo-0301",
      "gpt-3.5-turbo-0613",
      "gpt-3.5-turbo-1106",
      "gpt-3.5-turbo-0125",
      "gpt-3.5-turbo-16k",
      "gpt-3.5-turbo-16k-0613",
      "gpt-3.5-turbo-instruct",
      "gpt-4",
      "gpt-4-0314",
      "gpt-4-0613",
      "gpt-4-1106-preview",
      "gpt-4-0125-preview",
      "gpt-4-32k",
      "gpt-4-32k-0314",
      "gpt-4-32k-0613",
      "gpt-4-turbo-preview",
      "gpt-4-vision-preview",
      "text-embedding-ada-002",
      "text-embedding-3-small",
      "text-embedding-3-large",
      "text-curie-001",
      "text-babbage-001",
      "text-ada-001",
      "text-davinci-002",
      "text-davinci-003",
      "text-moderation-latest",
      "text-moderation-stable",
      "text-davinci-edit-001",
      "davinci-002",
      "babbage-002",
      "dall-e-2",
      "dall-e-3",
      "whisper-1",
      "tts-1",
      "tts-1-1106",
      "tts-1-hd",
      "tts-1-hd-1106"
    ],
    "11": [
      "PaLM-2"
    ],
    "12": [
      "gpt-3.5-turbo",
      "gpt-3.5-turbo-0301",
      "gpt-3.5-turbo-0613",
      "gpt-3.5-turbo-1106",
      "gpt-3.5-turbo-0125",
      "gpt-3.5-turbo-16k",
      "gpt-3.5-turbo-16k-0613",
      "gpt-3.5-turbo-instruct",
      "gpt-4",
      "gpt-4-0314",
      "gpt-4-0613",
      "gpt-4-1106-preview",
      "gpt-4-0125-preview",
      "gpt-4-32k",
      "gpt-4-32k-0314",
      "gpt-4-32k-0613",
      "gpt-4-turbo-preview",
      "gpt-4-vision-preview",
      "text-embedding-ada-002",
      "text-embedding-3-small",
      "text-embedding-3-large",
      "text-curie-001",
      "text-babbage-001",
      "text-ada-001",
      "text-davinci-002",
      "text-davinci-003",
      "text-moderation-latest",
      "text-moderation-stable",
      "text-davinci-edit-001",
      "davinci-002",
      "babbage-002",
      "dall-e-2",
      "dall-e-3",
      "whisper-1",
      "tts-1",
      "tts-1-1106",
      "tts-1-hd",
      "tts-1-hd-1106"
    ],
    "13": [
      "gpt-3.5-turbo",
      "gpt-3.5-turbo-0301",
      "gpt-3.5-turbo-0613",
      "gpt-3.5-turbo-1106",
      "gpt-3.5-turbo-0125",
      "gpt-3.5-turbo-16k",
      "gpt-3.5-turbo-16k-0613",
      "gpt-3.5-turbo-instruct",
      "gpt-4",
      "gpt-4-0314",
      "gpt-4-0613",
      "gpt-4-1106-preview",
      "gpt-4-0125-preview",
      "gpt-4-32k",
      "gpt-4-32k-0314",
      "gpt-4-32k-0613",
      "gpt-4-turbo-preview",
      "gpt-4-vision-preview",
      "text-embedding-ada-002",
      "text-embedding-3-small",
      "text-embedding-3-large",
      "text-curie-001",
      "text-babbage-001",
      "text-ada-001",
      "text-davinci-002",
      "text-davinci-003",
      "text-moderation-latest",
      "text-moderation-stable",
      "text-davinci-edit-001",
      "davinci-002",
      "babbage-002",
      "dall-e-2",
      "dall-e-3",
      "whisper-1",
      "tts-1",
      "tts-1-1106",
      "tts-1-hd",
      "tts-1-hd-1106"
    ],
    "14": [
      "claude-instant-1.2",
      "claude-2.0",
      "claude-2.1",
      "claude-3-haiku-20240307",
      "claude-3-sonnet-20240229",
      "claude-3-opus-20240229"
    ],
    "15": [
      "ERNIE-4.0-8K",
      "ERNIE-3.5-8K",
      "ERNIE-3.5-8K-0205",
      "ERNIE-3.5-8K-1222",
      "ERNIE-Bot-8K",
      "ERNIE-3.5-4K-0205",
      "ERNIE-Speed-8K",
      "ERNIE-Speed-128K",
      "ERNIE-Lite-8K-0922",
      "ERNIE-Lite-8K-0308",
      "ERNIE-Tiny-8K",
      "BLOOMZ-7B",
      "Embedding-V1",
      "bge-large-zh",
      "bge-large-en",
      "tao-8k"
    ],
    "16": [
      "chatglm_turbo",
      "chatglm_pro",
      "chatglm_std",
      "chatglm_lite",
      "glm-4",
      "glm-4v",
      "glm-3-turbo",
      "embedding-2",
      "cogview-3"
    ],
    "17": [
      "qwen-turbo",
      "qwen-plus",
      "qwen-max",
      "qwen-max-longcontext",
      "text-embedding-v1",
      "ali-stable-diffusion-xl",
      "ali-stable-diffusion-v1.5",
      "wanx-v1"
    ],
    "18": [
      "SparkDesk",
      "SparkDesk-v1.1",
      "SparkDesk-v2.1",
      "SparkDesk-v3.1",
      "SparkDesk-v3.5"
    ],
    "19": [
      "360GPT_S2_V9",
      "embedding-bert-512-v1",
      "embedding_s1_v1",
      "semantic_similarity_s1_v1"
    ],
    "2": [
      "gpt-3.5-turbo",
      "gpt-3.5-turbo-0301",
      "gpt-3.5-turbo-0613",
      "gpt-3.5-turbo-1106",
      "gpt-3.5-turbo-0125",
      "gpt-3.5-turbo-16k",
      "gpt-3.5-turbo-16k-0613",
      "gpt-3.5-turbo-instruct",
      "gpt-4",
      "gpt-4-0314",
      "gpt-4-0613",
      "gpt-4-1106-preview",
      "gpt-4-0125-preview",
      "gpt-4-32k",
      "gpt-4-32k-0314",
      "gpt-4-32k-0613",
      "gpt-4-turbo-preview",
      "gpt-4-vision-preview",
      "text-embedding-ada-002",
      "text-embedding-3-small",
      "text-embedding-3-large",
      "text-curie-001",
      "text-babbage-001",
      "text-ada-001",
      "text-davinci-002",
      "text-davinci-003",
      "text-moderation-latest",
      "text-moderation-stable",
      "text-davinci-edit-001",
      "davinci-002",
      "babbage-002",
      "dall-e-2",
      "dall-e-3",
      "whisper-1",
      "tts-1",
      "tts-1-1106",
      "tts-1-hd",
      "tts-1-hd-1106"
    ],
    "20": [
      "gpt-3.5-turbo",
      "gpt-3.5-turbo-0301",
      "gpt-3.5-turbo-0613",
      "gpt-3.5-turbo-1106",
      "gpt-3.5-turbo-0125",
      "gpt-3.5-turbo-16k",
      "gpt-3.5-turbo-16k-0613",
      "gpt-3.5-turbo-instruct",
      "gpt-4",
      "gpt-4-0314",
      "gpt-4-0613",
      "gpt-4-1106-preview",
      "gpt-4-0125-preview",
      "gpt-4-32k",
      "gpt-4-32k-0314",
      "gpt-4-32k-0613",
      "gpt-4-turbo-preview",
      "gpt-4-vision-preview",
      "text-embedding-ada-002",
      "text-embedding-3-small",
      "text-embedding-3-large",
      "text-curie-001",
      "text-babbage-001",
      "text-ada-001",
      "text-davinci-002",
      "text-davinci-003",
      "text-moderation-latest",
      "text-moderation-stable",
      "text-davinci-edit-001",
      "davinci-002",
      "babbage-002",
      "dall-e-2",
      "dall-e-3",
      "whisper-1",
      "tts-1",
      "tts-1-1106",
      "tts-1-hd",
      "tts-1-hd-1106"
    ],
    "21": [
      "gpt-3.5-turbo",
      "gpt-3.5-turbo-0301",
      "gpt-3.5-turbo-0613",
      "gpt-3.5-turbo-1106",
      "gpt-3.5-turbo-0125",
      "gpt-3.5-turbo-16k",
      "gpt-3.5-turbo-16k-0613",
      "gpt-3.5-turbo-instruct",
      "gpt-4",
      "gpt-4-0314",
      "gpt-4-0613",
      "gpt-4-1106-preview",
      "gpt-4-0125-preview",
      "gpt-4-32k",
      "gpt-4-32k-0314",
      "gpt-4-32k-0613",
      "gpt-4-turbo-preview",
      "gpt-4-vision-preview",
      "text-embedding-ada-002",
      "text-embedding-3-small",
      "text-embedding-3-large",
      "text-curie-001",
      "text-babbage-001",
      "text-ada-001",
      "text-davinci-002",
      "text-davinci-003",
      "text-moderation-latest",
      "text-moderation-stable",
      "text-davinci-edit-001",
      "davinci-002",
      "babbage-002",
      "dall-e-2",
      "dall-e-3",
      "whisper-1",
      "tts-1",
      "tts-1-1106",
      "tts-1-hd",
      "tts-1-hd-1106"
    ],
    "22": [
      "gpt-3.5-turbo",
      "gpt-3.5-turbo-0301",
      "gpt-3.5-turbo-0613",
      "gpt-3.5-turbo-1106",
      "gpt-3.5-turbo-0125",
      "gpt-3.5-turbo-16k",
      "gpt-3.5-turbo-16k-0613",
      "gpt-3.5-turbo-instruct",
      "gpt-4",
      "gpt-4-0314",
      "gpt-4-0613",
      "gpt-4-1106-preview",
      "gpt-4-0125-preview",
      "gpt-4-32k",
      "gpt-4-32k-0314",
      "gpt-4-32k-0613",
      "gpt-4-turbo-preview",
      "gpt-4-vision-preview",
      "text-embedding-ada-002",
      "text-embedding-3-small",
      "text-embedding-3-large",
      "text-curie-001",
      "text-babbage-001",
      "text-ada-001",
      "text-davinci-002",
      "text-davinci-003",
      "text-moderation-latest",
      "text-moderation-stable",
      "text-davinci-edit-001",
      "davinci-002",
      "babbage-002",
      "dall-e-2",
      "dall-e-3",
      "whisper-1",
      "tts-1",
      "tts-1-1106",
      "tts-1-hd",
      "tts-1-hd-1106"
    ],
    "23": [
      "ChatPro",
      "ChatStd",
      "hunyuan"
    ],
    "24": [
      "gemini-pro",
      "gemini-1.0-pro-001",
      "gemini-1.5-pro",
      "gemini-pro-vision",
      "gemini-1.0-pro-vision-001"
    ],
    "25": [
      "moonshot-v1-8k",
      "moonshot-v1-32k",
      "moonshot-v1-128k"
    ],
    "26": [
      "Baichuan2-Turbo",
      "Baichuan2-Turbo-192k",
      "Baichuan-Text-Embedding"
    ],
    "27": [
      "abab5.5s-chat",
      "abab5.5-chat",
      "abab6-chat"
    ],
    "28": [
      "open-mistral-7b",
      "open-mixtral-8x7b",
      "mistral-small-latest",
      "mistral-medium-latest",
      "mistral-large-latest",
      "mistral-embed"
    ],
    "29": [
      "gemma-7b-it",
      "llama2-7b-2048",
      "llama2-70b-4096",
      "mixtral-8x7b-32768"
    ],
    "3": [
      "gpt-3.5-turbo",
      "gpt-3.5-turbo-0301",
      "gpt-3.5-turbo-0613",
      "gpt-3.5-turbo-1106",
      "gpt-3.5-turbo-0125",
      "gpt-3.5-turbo-16k",
      "gpt-3.5-turbo-16k-0613",
      "gpt-3.5-turbo-instruct",
      "gpt-4",
      "gpt-4-0314",
      "gpt-4-0613",
      "gpt-4-1106-preview",
      "gpt-4-0125-preview",
      "gpt-4-32k",
      "gpt-4-32k-0314",
      "gpt-4-32k-0613",
      "gpt-4-turbo-preview",
      "gpt-4-vision-preview",
      "text-embedding-ada-002",
      "text-embedding-3-small",
      "text-embedding-3-large",
      "text-curie-001",
      "text-babbage-001",
      "text-ada-001",
      "text-davinci-002",
      "text-davinci-003",
      "text-moderation-latest",
      "text-moderation-stable",
      "text-davinci-edit-001",
      "davinci-002",
      "babbage-002",
      "dall-e-2",
      "dall-e-3",
      "whisper-1",
      "tts-1",
      "tts-1-1106",
      "tts-1-hd",
      "tts-1-hd-1106"
    ],
    "30": [
      "qwen:0.5b-chat"
    ],
    "31": [
      "yi-34b-chat-0205",
      "yi-34b-chat-200k",
      "yi-vl-plus"
    ],
    "32": [
      "step-1-32k",
      "step-1v-32k",
      "step-1-200k"
    ],
    "4": [
      "gpt-3.5-turbo",
      "gpt-3.5-turbo-0301",
      "gpt-3.5-turbo-0613",
      "gpt-3.5-turbo-1106",
      "gpt-3.5-turbo-0125",
      "gpt-3.5-turbo-16k",
      "gpt-3.5-turbo-16k-0613",
      "gpt-3.5-turbo-instruct",
      "gpt-4",
      "gpt-4-0314",
      "gpt-4-0613",
      "gpt-4-1106-preview",
      "gpt-4-0125-preview",
      "gpt-4-32k",
      "gpt-4-32k-0314",
      "gpt-4-32k-0613",
      "gpt-4-turbo-preview",
      "gpt-4-vision-preview",
      "text-embedding-ada-002",
      "text-embedding-3-small",
      "text-embedding-3-large",
      "text-curie-001",
      "text-babbage-001",
      "text-ada-001",
      "text-davinci-002",
      "text-davinci-003",
      "text-moderation-latest",
      "text-moderation-stable",
      "text-davinci-edit-001",
      "davinci-002",
      "babbage-002",
      "dall-e-2",
      "dall-e-3",
      "whisper-1",
      "tts-1",
      "tts-1-1106",
      "tts-1-hd",
      "tts-1-hd-1106"
    ],
    "5": [
      "gpt-3.5-turbo",
      "gpt-3.5-turbo-0301",
      "gpt-3.5-turbo-0613",
      "gpt-3.5-turbo-1106",
      "gpt-3.5-turbo-0125",
      "gpt-3.5-turbo-16k",
      "gpt-3.5-turbo-16k-0613",
      "gpt-3.5-turbo-instruct",
      "gpt-4",
      "gpt-4-0314",
      "gpt-4-0613",
      "gpt-4-1106-preview",
      "gpt-4-0125-preview",
      "gpt-4-32k",
      "gpt-4-32k-0314",
      "gpt-4-32k-0613",
      "gpt-4-turbo-preview",
      "gpt-4-vision-preview",
      "text-embedding-ada-002",
      "text-embedding-3-small",
      "text-embedding-3-large",
      "text-curie-001",
      "text-babbage-001",
      "text-ada-001",
      "text-davinci-002",
      "text-davinci-003",
      "text-moderation-latest",
      "text-moderation-stable",
      "text-davinci-edit-001",
      "davinci-002",
      "babbage-002",
      "dall-e-2",
      "dall-e-3",
      "whisper-1",
      "tts-1",
      "tts-1-1106",
      "tts-1-hd",
      "tts-1-hd-1106"
    ],
    "6": [
      "gpt-3.5-turbo",
      "gpt-3.5-turbo-0301",
      "gpt-3.5-turbo-0613",
      "gpt-3.5-turbo-1106",
      "gpt-3.5-turbo-0125",
      "gpt-3.5-turbo-16k",
      "gpt-3.5-turbo-16k-0613",
      "gpt-3.5-turbo-instruct",
      "gpt-4",
      "gpt-4-0314",
      "gpt-4-0613",
      "gpt-4-1106-preview",
      "gpt-4-0125-preview",
      "gpt-4-32k",
      "gpt-4-32k-0314",
      "gpt-4-32k-0613",
      "gpt-4-turbo-preview",
      "gpt-4-vision-preview",
      "text-embedding-ada-002",
      "text-embedding-3-small",
      "text-embedding-3-large",
      "text-curie-001",
      "text-babbage-001",
      "text-ada-001",
      "text-davinci-002",
      "text-davinci-003",
      "text-moderation-latest",
      "text-moderation-stable",
      "text-davinci-edit-001",
      "davinci-002",
      "babbage-002",
      "dall-e-2",
      "dall-e-3",
      "whisper-1",
      "tts-1",
      "tts-1-1106",
      "tts-1-hd",
      "tts-1-hd-1106"
    ],
    "7": [
      "gpt-3.5-turbo",
      "gpt-3.5-turbo-0301",
      "gpt-3.5-turbo-0613",
      "gpt-3.5-turbo-1106",
      "gpt-3.5-turbo-0125",
      "gpt-3.5-turbo-16k",
      "gpt-3.5-turbo-16k-0613",
      "gpt-3.5-turbo-instruct",
      "gpt-4",
      "gpt-4-0314",
      "gpt-4-0613",
      "gpt-4-1106-preview",
      "gpt-4-0125-preview",
      "gpt-4-32k",
      "gpt-4-32k-0314",
      "gpt-4-32k-0613",
      "gpt-4-turbo-preview",
      "gpt-4-vision-preview",
      "text-embedding-ada-002",
      "text-embedding-3-small",
      "text-embedding-3-large",
      "text-curie-001",
      "text-babbage-001",
      "text-ada-001",
      "text-davinci-002",
      "text-davinci-003",
      "text-moderation-latest",
      "text-moderation-stable",
      "text-davinci-edit-001",
      "davinci-002",
      "babbage-002",
      "dall-e-2",
      "dall-e-3",
      "whisper-1",
      "tts-1",
      "tts-1-1106",
      "tts-1-hd",
      "tts-1-hd-1106"
    ],
    "8": [
      "gpt-3.5-turbo",
      "gpt-3.5-turbo-0301",
      "gpt-3.5-turbo-0613",
      "gpt-3.5-turbo-1106",
      "gpt-3.5-turbo-0125",
      "gpt-3.5-turbo-16k",
      "gpt-3.5-turbo-16k-0613",
      "gpt-3.5-turbo-instruct",
      "gpt-4",
      "gpt-4-0314",
      "gpt-4-0613",
      "gpt-4-1106-preview",
      "gpt-4-0125-preview",
      "gpt-4-32k",
      "gpt-4-32k-0314",
      "gpt-4-32k-0613",
      "gpt-4-turbo-preview",
      "gpt-4-vision-preview",
      "text-embedding-ada-002",
      "text-embedding-3-small",
      "text-embedding-3-large",
      "text-curie-001",
      "text-babbage-001",
      "text-ada-001",
      "text-davinci-002",
      "text-davinci-003",
      "text-moderation-latest",
      "text-moderation-stable",
      "text-davinci-edit-001",
      "davinci-002",
      "babbage-002",
      "dall-e-2",
      "dall-e-3",
      "whisper-1",
      "tts-1",
      "tts-1-1106",
      "tts-1-hd",
      "tts-1-hd-1106"
    ],
    "9": [
      "gpt-3.5-turbo",
      "gpt-3.5-turbo-0301",
      "gpt-3.5-turbo-0613",
      "gpt-3.5-turbo-1106",
      "gpt-3.5-turbo-0125",
      "gpt-3.5-turbo-16k",
      "gpt-3.5-turbo-16k-0613",
      "gpt-3.5-turbo-instruct",
      "gpt-4",
      "gpt-4-0314",
      "gpt-4-0613",
      "gpt-4-1106-preview",
      "gpt-4-0125-preview",
      "gpt-4-32k",
      "gpt-4-32k-0314",
      "gpt-4-32k-0613",
      "gpt-4-turbo-preview",
      "gpt-4-vision-preview",
      "text-embedding-ada-002",
      "text-embedding-3-small",
      "text-embedding-3-large",
      "text-curie-001",
      "text-babbage-001",
      "text-ada-001",
      "text-davinci-002",
      "text-davinci-003",
      "text-moderation-latest",
      "text-moderation-stable",
      "text-davinci-edit-001",
      "davinci-002",
      "babbage-002",
      "dall-e-2",
      "dall-e-3",
      "whisper-1",
      "tts-1",
      "tts-1-1106",
      "tts-1-hd",
      "tts-1-hd-1106"
    ]
  },
  "message": "",
  "success": true
}

@QAbot-zh
Copy link

QAbot-zh commented Apr 8, 2024

berry 主题,点击“令牌”选项卡,有概率触发这个错误:

image

@mxdlzg
Copy link
Contributor

mxdlzg commented Apr 22, 2024

现在还是不能复制令牌 6.5.0

@aiastia
Copy link

aiastia commented May 11, 2024

berry 主题 好像没有 cloudflare的渠道 切换到默认主题就有了 。 在切换回来就成了 未知

@0x5c0f
Copy link

0x5c0f commented May 21, 2024

目前最新版本,cozeAmazonBedrock渠道类型仍然显示未知。

@QAbot-zh
Copy link

最新版本 berry 主题,电脑端会丢失统计图(手机端能显示,电脑端为空),如图:

image

切回 v0.6.6,电脑端和手机端都正常:

image

@forrany
Copy link

forrany commented May 23, 2024

最新版本 berry 主题,电脑端会丢失统计图(手机端能显示,电脑端为空),如图:

image

切回 v0.6.6,电脑端和手机端都正常:

image

我切回去也不会显示,看到控制台报错,应该是绘图相关崩溃了

image

@aiastia
Copy link

aiastia commented May 30, 2024

cf ai 配置渠道的 代理 AI Gateway 。会 提示 status code 400: bad response status code 400 @MartialBE

@QAbot-zh
Copy link

遇到 bug,编辑渠道提交的时候密钥会变成 undefined,导致渠道不可用

image

@MartialBE
Copy link
Collaborator

@aiastia @QAbot-zh 已提PR,等待修复

@code-october
Copy link

@songquanpeng 小催一下这个PR: #1496 , 要不然编辑渠道有点难受

@QAbot-zh
Copy link

QAbot-zh commented Jun 9, 2024

@songquanpeng 看了下PR内容,就是很小的改动,能不能测试合并一下 😣

@paned0e3cc
Copy link

bug 填入openai渠道相关模型时,没有正确填入,提示模型不能为空
image

@YFSakura
Copy link

@songquanpeng 小催一下#1611,这个bug困扰好久了,有点小急

@wangpre
Copy link

wangpre commented Aug 18, 2024

@MartialBE 你的这个主题非常棒,希望继续完善,目前还有一些小问题导致无法正常使用

@QAbot-zh
Copy link

考虑跟进一下默认主题的测试模型功能吗,方便直接测试某个渠道的具体模型

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.