zezhiya 发表于 2025-6-25 22:07:04

gemini cli正式发布

有几个问题:
1、使用 api-key 登陆,找不到地方切模型(必须使用 google 账号登陆而不是 API-KEY 就可以使用 2.5-pro 模型,速度也正常了
估计是 API-KEY 还没有和 gemini cli 打通,走的还是原有的 RPM

2、说是每分钟允许60次请求,实际上让总结个项目就 too many request 了


https://blog.google/technology/developers/introducing-gemini-cli-open-source-ai-agent/

MyWindsor 发表于 2025-6-25 22:07:40

本帖最后由 MyWindsor 于 2025-6-25 22:14 编辑

没想到来的这么快 https://github.com/google-gemini/gemini-cli/tree/main 我已经安装了,大家也快去体验吧
官方说了,帐号登录才享有60rpm 1000rpd的免费2.5Pro配额,Free Tier Key是没有的,你可能理解错了
文章里的意思不是说Free Key填进去就有配额的,还是没有的,想要免费配额必须帐号登录,BYOK是给专业用户的,还是需要Pay Tier的Key
Options:
-m, --model                  Model      
-p, --prompt                   Prompt. Appended to input on stdin (if any).
                                                                        
-s, --sandbox                  Run in sandbox?                     
      --sandbox-image            Sandbox image URI.                     
-d, --debug                  Run in debug mode?   
-a, --all_files                Include ALL files in context?
                                                      
      --show_memory_usage      Show memory usage in status bar
                                                      
-y, --yolo                     Automatically accept all actions (aka YOLO
                                 mode, see
                                 https://www.youtube.com/watch?v=xvFZjo5PgG0 for
                                 more details)?      
      --telemetry                Enable telemetry? This flag specifically
                                 controls if telemetry is sent. Other
                                 --telemetry-* flags set specific values but do
                                 not enable telemetry on their own.   
      --telemetry-target         Set the telemetry target (local or gcp).
                                 Overrides settings files.
                                             
      --telemetry-otlp-endpointSet the OTLP endpoint for telemetry. Overrides
                                 environment variables and settings files.
                                                                        
      --telemetry-log-prompts    Enable or disable logging of user prompts for
                                 telemetry. Overrides settings files.
-c, --checkpointing            Enables checkpointing of file edits
                                                      
-v, --version                  Show version number                  
-h, --help                     Show help                           
蹲2api 还可以选主题,gemini 这是飘了阿。原本用roo code3小时才能完成的开发,现在5分钟。。我现在想每次打开软件的时候自动把之前失败的关键词重新请求一遍、复制搜索列表的html,他自动对比错误
太强了太强了太强了{tieba45}

nwaobas 发表于 2025-6-26 10:30:45

走起来,走起来

lvk901 发表于 2025-10-4 12:44:04

cli搞起来!
页: [1]
查看完整版本: gemini cli正式发布