GitHub Issue
[Bug]: 模型无法加载
### Bug Description
### Steps to Reproduce
1.设置.env.local中gemini的api-key和model名,保存修改
2.启动服务,本地打开http://localhost:3000/
3.并没有Gemini这个模型选项,只有我配置的minimax,如图所示
### Expected Behavior
出现gemini模型选项
### Actual Behavior
并没有出现gemini这个模型选项
### Deployment Method
Local development (npm run dev / pnpm dev / yarn dev)
### Browser
chrome 120
### Operating System
Windows10
### Relevant Logs / Screenshots
```shell
```
### Additional Context
_No response_
View Raw Thread
Developer & User Discourse
wyuc • Mar 18, 2026
你好,请问你在 .env.local 里用的变量名是什么?Gemini 对应的环境变量是 `GOOGLE_API_KEY`,可以对照 `.env.example` 检查一下。如果还是不行的话麻烦贴一下你的配置(隐藏 key),我帮你看看。
hebjt • Mar 20, 2026
minimax,确实不能使用,不管是配置在服务端还是在客户端页面,都会出现错误:后台异常信息
hebjt • Mar 20, 2026
openmaic-1 | [2026-03-20T09:36:23.412Z] [ERROR] [Verify Model] API test error: AI_APICallError: Not Found
openmaic-1 | at /app/.next/server/chunks/node_modules__pnpm_8812bde3._.js:47:16831
openmaic-1 | at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
openmaic-1 | at async eM (/app/.next/server/chunks/node_modules__pnpm_8812bde3._.js:47:14783)
openmaic-1 | at async Y.doGenerate (/app/.next/server/chunks/lib_ai_providers_ts_6aab28c1._.js:1:57877)
openmaic-1 | at async fn (/app/.next/server/chunks/node_modules__pnpm_1fc6a1a0._.js:27:29750)
openmaic-1 | at async /app/.next/server/chunks/node_modules__pnpm_1fc6a1a0._.js:27:1487
openmaic-1 | at async aN (/app/.next/server/chunks/node_modules__pnpm_1fc6a1a0._.js:27:5368)
openmaic-1 | at async fn (/app/.next/server/chunks/node_modules__pnpm_1fc6a1a0._.js:27:28910)
openmaic-1 | at async /app/.next/server/chunks/node_modules__pnpm_1fc6a1a0._.js:27:1487
openmaic-1 | ...
openmaic-1 | at /app/.next/server/chunks/node_modules__pnpm_8812bde3._.js:47:16831
openmaic-1 | at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
openmaic-1 | at async eM (/app/.next/server/chunks/node_modules__pnpm_8812bde3._.js:47:14783)
openmaic-1 | at async Y.doGenerate (/app/.next/server/chunks/lib_ai_providers_ts_6aab28c1._.js:1:57877)
openmaic-1 | at async fn (/app/.next/server/chunks/node_modules__pnpm_1fc6a1a0._.js:27:29750)
openmaic-1 | at async /app/.next/server/chunks/node_modules__pnpm_1fc6a1a0._.js:27:1487
openmaic-1 | at async aN (/app/.next/server/chunks/node_modules__pnpm_1fc6a1a0._.js:27:5368)
openmaic-1 | at async fn (/app/.next/server/chunks/node_modules__pnpm_1fc6a1a0._.js:27:28910)
openmaic-1 | at async /app/.next/server/chunks/node_modules__pnpm_1fc6a1a0._.js:27:1487
openmaic-1 | ...
hebjt • Mar 20, 2026
配置信息如下
MINIMAX_API_KEY=api-key
MINIMAX_BASE_URL=https://api.minimaxi.com/anthropic
MINIMAX_MODELS=MiniMax-M2.5,也实验了minimax-cn/MiniMax-M2.5,也是一样的错误
MINIMAX_API_KEY=api-key
MINIMAX_BASE_URL=https://api.minimaxi.com/anthropic
MINIMAX_MODELS=MiniMax-M2.5,也实验了minimax-cn/MiniMax-M2.5,也是一样的错误
cruisertml • Mar 25, 2026
不要用配置文件,打开在网页中填写配置,实测可以运行起来
Market Trends