gemini-cli不能使用gemini-2.5-pro,启动后自动被切换到gemini-2.5-flash。根本无法使用
What would you like to be added?
gemini-cli不能使用gemini-2.5-pro,启动后自动被切换到gemini-2.5-flash。根本无法使用
Why is this needed?
gemini-cli不能使用gemini-2.5-pro,启动后自动被切换到gemini-2.5-flash。根本无法使用
Additional context
gemini-cli不能使用gemini-2.5-pro,启动后自动被切换到gemini-2.5-flash。根本无法使用
gemini-cli cannot use gemini-2.5-pro, and automatically switches to gemini-2.5-flash after startup. It cannot be used at all
Can you provide some more information? What kind of errors were you seeing? How are you authenticated (API Key, Google Account)?
-> OpenManus git:(main) ✗ gemini --model="gemini-2.5-pro" --yolo --checkpointing Tips for getting started:
- Ask questions, edit files, or run commands.
- Be specific for the best results.
- /help for more information.
Tips for getting started:
- Ask questions, edit files, or run commands.
- Be specific for the best results.
- /help for more information.
current GEMINI.md
ℹ ⚡ Slow response times detected. Automatically switching from gemini-2.5-pro to
gemini-2.5-flash for faster responses for the remainder of this session.
⚡ To avoid this you can either upgrade to Standard tier. See:
https://goo.gle/set-up-gemini-code-assist
⚡ Or you can utilize a Gemini API Key. See:
https://goo.gle/gemini-cli-docs-auth#gemini-api-key
⚡ You can switch authentication methods by typing /auth
╭────────────────────────╮
│ ✔ ReadFile GEMINI.md │
╰────────────────────────╯
╭────────────────────────────────────────────────────────────────────────────────────────────╮
│ ✔ edit_block (desktop-commander MCP Server) {"old_string":"--- Context from: ../../.gem… │
│ │
│ Search content not found in /Users/lizhengguang/Desktop/OpenManus/GEMINI.md. │
│ The closest match was " various agent types (e.g., manus, mcp, react, │
│ swe, browser, data_analysis). │
│ * app/flow/: Manages the flow and orchestration of agents. │
│ * app/mcp/: Contains components related to the Multi-Agent │
│ Communication Protocol (MCP). │
│ * app/prompt/: Stores prompt templates for different agents and │
│ tools. │
│ * app/sandbox/: Implements the sandbox environment for safe code │
│ execution. │
│ * app/tool/: Houses various tools that agents can utilize (e.g., │
│ bash, browser_use_tool, file_operators, web_search, │
│ python_execute, chart_visualization, search). │
│ * assets/: Stores static assets like images. │
│ * config/: Contains configuration files, including example LLM │
│ configurations. │
│ * examples/: Provides usage examples and benchmarks. │
│ * tests/: Contains unit and integration tests for the project. │
│ * run_flow.py, run_mcp_server.py, run_mcp.py, main.py: Entry │
│ points for different modes of operation. │
│ │
│ ## 4. Installation │
│ │
│ The recommended installation method uses uv for faster dependency │
│ management: │
│ │
│ 1. Clone the repository: │
│ ```bash │
│ git clone https://github.com/Foundatio" with only 23% similarity, which │
│ is below the 70% threshold. (Fuzzy search completed in 19.08ms) │
│ │
│ Log entry saved for analysis. Use the following command to check the log: │
│ Check log: │
│ /Users/lizhengguang/.claude-server-commander-logs/fuzzy-search.log │
╰────────────────────────────────────────────────────────────────────────────────────────────╯
⠙ Reflecting on GEMINI.md (esc to cancel, 2s)
Using 2 GEMINI.md files and 2 MCP servers (ctrl+t to view) YOLO mode (ctrl + y to toggle)
~/Desktop/OpenManus (main*) no sandbox (see /docs) gemini-2.5-flash (99% context left)
Use the command gemini --model="gemini-2.5-pro" --yolo --checkpointing , Forced to switch to gemini-2.5-flash
What authentication method are you using? API Key? Google Account?
Both methods result in the same result. Gemini-2.5-pro cannot be used, only gemini-2.5-flash can be used.
│ │ │ About Gemini CLI │ │ │ │ CLI Version 0.1.7 │ │ Git Commit 55cc809 │ │ Model gemini-2.5-flash │ │ Sandbox no sandbox │ │ OS darwin │ │ Auth Method OAuth
Yes, it seems that everyone is having the same issue, I will have to stick to AI-Studio
Yes, it seems that everyone is having the same issue, I will have to stick to AI-Studio
Ya, I'm having the same issue. My guess is their TPUs are being slammed and they have to use flash.
Seems to be a duplicate of #2325
#2711 seems to be the main issue for this problem
the same problem
Cause it‘s totally a lie and trash.Just goto better alternates which u can find everywhere.