You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bot detected the issue body's language is not English, translate it automatically.
I found that the reason is because there is no model option in the mask configuration. For example, if I hardcode props.modelConfig?.providerName into OpenAI in model-config.tsx, it can recognize it and display it correctly, so the model must be added to the mask configuration.
Austin-Patrician
changed the title
[Bug]
[Bug] in the mask review detail page ,model not show correctly.
Jan 11, 2025
📦 部署方式
Other
📌 软件版本
最新分支本地部署
💻 系统环境
Windows
📌 系统版本
win 11
🌐 浏览器
Chrome
📌 浏览器版本
Version 131.0.6778.205 (Official Build) (64-bit)
🐛 问题描述
我app/store/config.ts 修改了modelConfig:model : "gpt-4o" as ModelType, 并且在masks/en.ts 下修改所有的mask 的modelConfig为gpt-4o, 但是当我点击mask 里面的views 的时候,发现里面的model 仍然是默认的'gpt-3.5-turbo",看了下model-config.tsx 里面取值确实是gpt-4o,但是providerName 识别为undefine.
📷 复现步骤
修改app/store/config.ts 修改了modelConfig:model : "gpt-4o" as ModelType,model-config.tsx控制台输出
const value =
${props.modelConfig.model}@${props.modelConfig?.providerName}
; 的value 值,发现确实变了,但是显示值不对🚦 期望结果
应该和mask 设置的 值匹配上。
📝 补充信息
The text was updated successfully, but these errors were encountered: