There's an issue with the selected model (Google Gemini/gemini-2.5-flash-lite). ...
错误信息
There's an issue with the selected model (Google Gemini/gemini-2.5-flash-lite). It may not exist or you may not have
access to it. Run /model to pick a different model.
AI 解决方案
🔧 代码报错分析
1. 🌐 错误翻译
原文:There's an issue with the selected model (Google Gemini/gemini-2.5-flash-lite). It may not exist or you may not have access to it. Run /model to pick a different model.
译文:所选模型(Google Gemini/gemini-2.5-flash-lite)存在问题。该模型可能不存在,或者您可能没有访问权限。请运行 /model 命令来选择其他模型。
2. 🎯 原因分析
该错误并非代码层面的报错,而是API调用时的模型配置问题:
gemini-2.5-flash-lite 不存在,或者当前调用者没有访问该模型的权限3. 💡 解决方案
/model 命令,从平台支持的模型列表中选择正确的模型,例如官方稳定版本 gemini-2.5-flash 或 gemini-2.0-pro 等