Skip to content

Commit 34b61e3

Browse files
add support for latest gemini model
1 parent 4a2a4c0 commit 34b61e3

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ You many want to skip tests especially if you are generating a UI application.
124124
* `ollama` is `qwen2.5-coder:14b`
125125
* `openai` is `gpt-4o`
126126
* `claude` is `claude-3-7-sonnet-20250219`
127-
* `gemini` is `gemini-2.0-flash`
127+
* `gemini` is `gemini-2.5-pro-exp-03-25`
128128

129129
### Select Models
130130
* `uvx nemo-agent "my_prompt" --provider openai --model o3-mini`
@@ -141,7 +141,7 @@ You many want to skip tests especially if you are generating a UI application.
141141
* Supports `claude-3-7-sonnet-20250219` and `claude-3-5-sonnet-20241022`
142142

143143
#### Gemini
144-
* Supports `gemini-2.0-flash`, `gemini-1.5-pro`, `gemini-1.5-flash`
144+
* Supports `gemini-2.5-pro-exp-03-25`, `gemini-2.0-flash`, `gemini-1.5-pro`, `gemini-1.5-flash`
145145

146146
## Contributing
147147
Contributions to Nemo Agent are welcome! Please feel free to submit a Pull Request.

nemo_agent/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ def generate(self, prompt):
161161
class GeminiAPI:
162162
def __init__(self, model):
163163
if model == "qwen2.5-coder:14b":
164-
model="gemini-2.0-flash"
164+
model="gemini-2.5-pro-exp-03-25"
165165
self.model = model
166166
self.api_key = os.getenv("GEMINI_API_KEY")
167167
self.base_url="https://generativelanguage.googleapis.com/v1beta/openai/"

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "nemo-agent"
3-
version = "3.6.0"
3+
version = "3.7.0"
44
description = "Your Python AI Coder"
55
authors = ["Bevan Hunt <bevan@bevanhunt.com>"]
66
license = "MIT"

0 commit comments

Comments
 (0)