-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Description
App Version
3.26.3
API Provider
Google Gemini
Model Used
gemini-2.5-pro
Roo Code Task Links (Optional)
No response
๐ Steps to Reproduce
Windows 11.
Open VS Code.
Ensure you are using a Google Gemini API provider and model as shown in the image. Gemini-2.5-pro:
Switch to code mode and issue the instruction:
"Create a new test file named RooTestGemini.cs with a method in it that creates a string array with 5 elements and then sets the third element to contain the word 'hello'."
Be saddened to see that the generated code is incorrect and missing the array brackets and indices as shown in the image:
Be intrigued to find that the exact same instruction and same LLM model and api provider succeeds in the competitor product Cline. See image:
Try similar instructions and be saddened to see that Roo + Gemini-2.5-pro fails to write c# content with arrays with square brackets and indices. And be baffled that no such problem exists with Cline + Gemini-2.5-pro, or with Roo + GPT-4.1 or Roo + Claude.
๐ฅ Outcome Summary
Expected arrays with square brackets and indices but got missing brackets and indices.
๐ Relevant Logs or Errors (Optional)
Metadata
Metadata
Assignees
Labels
Type
Projects
Status