Skip to content

Commit f47e7b7

Browse files
authored
feat(DATAGO-126686): Update default Gemini image model to gemini-3.1-flash-image-preview in SAM image tools (#1104)
* fix: model update
1 parent cccf744 commit f47e7b7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/solace_agent_mesh/agent/tools/image_tools.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -580,7 +580,7 @@ async def edit_image_with_gemini(
580580
gemini_api_key = current_tool_config.get("gemini_api_key")
581581
# Standard model - optimized for speed, efficiency, and lower cost
582582
default_model = current_tool_config.get(
583-
"model", "gemini-2.5-flash-image"
583+
"model", "gemini-3.1-flash-image-preview"
584584
)
585585
# Pro model - for professional asset production with advanced reasoning,
586586
# high-fidelity text rendering, and up to 4K resolution. More expensive.
@@ -840,7 +840,7 @@ async def generate_image_with_gemini(
840840
gemini_api_key = current_tool_config.get("gemini_api_key")
841841
# Standard model - optimized for speed, efficiency, and lower cost
842842
default_model = current_tool_config.get(
843-
"model", "gemini-2.5-flash-image"
843+
"model", "gemini-3.1-flash-image-preview"
844844
)
845845
# Pro model - for professional asset production with advanced reasoning,
846846
# high-fidelity text rendering, and up to 4K resolution. More expensive.

0 commit comments

Comments
 (0)