mirror of
https://github.com/linux-do/new-api.git
synced 2025-09-22 18:16:37 +08:00
# feat: add support for gemini-exp-1114 model / 添加 gemini-exp-1114 模型支持 ## Changes / 更改内容 - Add gemini-exp-1114 to ModelList in constant.go - Add gemini-exp-1114 to GeminiModelMap with v1beta API version - 在 constant.go 的 ModelList 中添加 gemini-exp-1114 模型 - 在 GeminiModelMap 中添加 gemini-exp-1114 的 v1beta API 版本映射 ## Testing / 测试情况 - [x] Tested gemini-exp-1114 model API calls / 已测试 gemini-exp-1114 模型的 API 调用 - [x] Verified existing models still work / 验证现有模型仍然正常工作 - [x] Confirmed v1beta API version works correctly / 确认 v1beta API 版本正常工作 ## Related Issues / 相关问题 - Fix 404 error when calling gemini-exp-1114 model / 修复调用 gemini-exp-1114 模型时的 404 错误 ## Implementation Details / 实现细节 - Use configuration-based approach instead of code modification / 使用基于配置的方式而不是修改代码 - Maintain clean separation of concerns / 保持关注点分离 - Keep backward compatibility / 保持向后兼容性 ## Notes / 注意事项 - This PR follows the principle of minimal invasion / 本 PR 遵循最小侵入原则 - Configuration changes only / 仅包含配置更改 |
||
---|---|---|
.. | ||
ai360 | ||
ali | ||
aws | ||
baidu | ||
claude | ||
cloudflare | ||
cohere | ||
dify | ||
gemini | ||
jina | ||
lingyiwanwu | ||
minimax | ||
mistral | ||
moonshot | ||
ollama | ||
openai | ||
palm | ||
perplexity | ||
siliconflow | ||
task/suno | ||
tencent | ||
vertex | ||
xunfei | ||
zhipu | ||
zhipu_4v | ||
adapter.go | ||
api_request.go |