How to set a default model for a particular project? #5032
Replies: 3 comments 1 reply
-
|
A hack: use an alias: |
Beta Was this translation helpful? Give feedback.
-
|
I don't know if you ever got a solution to your problem, but I thought I'd share an idea. In each project folder, place a file containing the model you want to use: Then save the following as a local function or script If you Also, if you want to keep the name This method allows you to use multiple AIs and their models on as many projects as you want, I hope this helps. |
Beta Was this translation helpful? Give feedback.
-
|
In the latest version, You can configure the model in your project by referring to the documentation. https://geminicli.com/docs/get-started/configuration/#configuration-layers {
"model": {
"name": "gemini-2.5-flash"
}
} |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
For one of my project, I want to use
gemini-2.0-flash-liteby default.Launching
gemini --model gemini-2.0-flash-liteworks for me but I want to just launch it usinggemini. I don't see a parameter in settings.json here: https://github.com/google-gemini/gemini-cli/blob/main/docs/cli/configuration.md to do it.Beta Was this translation helpful? Give feedback.
All reactions