gemini-cli icon indicating copy to clipboard operation
gemini-cli copied to clipboard

How to specify model name

Open Marcus-Mok-GH opened this issue 1 year ago • 3 comments

What happened?

please add the ability to change the models

What did you expect to happen?

Model changing

Client information

  • CLI Version: 0.1.4
  • Git Commit: 1078a54
  • Operating System: linux v20.18.1
  • Sandbox Environment: no sandbox
  • Model Version: gemini-2.5-flash
  • Memory Usage: 149.1 MB

Login information

No response

Anything else we need to know?

No response

Marcus-Mok-GH avatar Jun 26 '25 04:06 Marcus-Mok-GH

根据我的经验,你可能需要首先指定一个sandbox种类 export GEMINI_SANDBOX=docker 然后确保你的网络能够连接到docker 希望对你有帮助

huadaox avatar Jun 26 '25 05:06 huadaox

You can change models with gemini -m gemini-2.5-flash.

markmcd avatar Jun 26 '25 07:06 markmcd

Is there an overview of gemini commands somewhere? thanks

orchidfire avatar Jun 26 '25 08:06 orchidfire