[GH-ISSUE #82] 是否有办法强制使用 2.5 pro? #71

Closed
opened 2026-02-27 07:17:49 +03:00 by kerem · 3 comments
Owner

Originally created by @manzhu on GitHub (Nov 25, 2025).
Original GitHub issue: https://github.com/justlovemaki/AIClient-2-API/issues/82

对比了使用 Gemini CLI 转的API,和使用 Gemini Balance 的API 号池方案,发现 Gemini Balance的回复质量明显高于 Gemini CLI API。

从日志中看客户端确实要求使用的是 2.5 pro:

[Server] Received request: POST http://localhost:3000/v1beta/models/gemini-2.5-pro:streamGenerateContent?alt=sse

请问是否还有其他配置项,或者 GEMINI CLI 中的设定可以强制使用 2.5 pro?

Originally created by @manzhu on GitHub (Nov 25, 2025). Original GitHub issue: https://github.com/justlovemaki/AIClient-2-API/issues/82 对比了使用 Gemini CLI 转的API,和使用 Gemini Balance 的API 号池方案,发现 Gemini Balance的回复质量明显高于 Gemini CLI API。 从日志中看客户端确实要求使用的是 2.5 pro: [Server] Received request: POST http://localhost:3000/v1beta/models/gemini-2.5-pro:streamGenerateContent?alt=sse 请问是否还有其他配置项,或者 GEMINI CLI 中的设定可以强制使用 2.5 pro?
kerem closed this issue 2026-02-27 07:17:49 +03:00
Author
Owner

@justlovemaki commented on GitHub (Nov 25, 2025):

默认是flash,但是你指定了就是指定的那一个

<!-- gh-comment-id:3574762732 --> @justlovemaki commented on GitHub (Nov 25, 2025): 默认是flash,但是你指定了就是指定的那一个
Author
Owner

@manzhu commented on GitHub (Nov 25, 2025):

这里的指定需要到 Gemini CLI 里面用 /model 去指定,还是说只要客户端里配置 API 时指定就好了?

<!-- gh-comment-id:3574974388 --> @manzhu commented on GitHub (Nov 25, 2025): 这里的指定需要到 Gemini CLI 里面用 /model 去指定,还是说只要客户端里配置 API 时指定就好了?
Author
Owner

@justlovemaki commented on GitHub (Nov 26, 2025):

这是2api项目,要在使用的客户端里指定模型

<!-- gh-comment-id:3579307245 --> @justlovemaki commented on GitHub (Nov 26, 2025): 这是2api项目,要在使用的客户端里指定模型
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/AIClient-2-API-justlovemaki#71
No description provided.