-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Description
Problem (one or two sentences)
HTTP 400 "Tool name is required for Gemini requests" when using copilot - gemini-3-pro model.
Context (who is affected and when)
Happens when using Roo Code in Orchestrator mode, creating as new application with test cases.
Reproduction steps
High Level Flow
[MacOS Sonoma 14.8.2] --> [Microsoft Remote - SSH Extension] --> [Linux Mint 21.3 Virginia]
Sequence of Events
-
Connect to remote server via VS Code, open empty directory.
-
Prompt the model in Orchestrator mode, to create a VS Code Extension (LSP).
-
The model appears to work fine. It was creating the files, asking questions, etc.
-
The model then starts to exhibit the error message.
-
Allowed it to retry a few times, without any improvement.
-
Changed to
copilot - gemini-2.5-proandcopilot - gemini-3-flashwithout any improvement. -
Changed to
copilot - claude-haiku-4.5and it was successfully able to continue. -
The model summarised what it had built.
-
Roo Code believes all tasks are now complete.
-
Restarted VS Code, resumed the Roo Code session.
-
Changed to
copilot - gemini-3-proand prompted the model to review it completed everything. -
The same error message started appearing again.
-
Changed to
copilot - gpt-5-codexand it was successfully able to continue the review.
MacOS Info
Version: 1.107.1 (Universal)
Commit: 994fd12f8d3a5aa16f17d42c041e5809167e845a
Date: 2025-12-17T14:15:14.850Z
Electron: 39.2.3
ElectronBuildId: 12895514
Chromium: 142.0.7444.175
Node.js: 22.21.1
V8: 14.2.231.21-electron.0
OS: Darwin x64 23.6.0
(base) user@MacBook:~/build$ code --list-extensions --show-versions
github.copilot@1.388.0
github.copilot-chat@0.35.2
ms-vscode-remote.remote-ssh@0.122.0
ms-vscode-remote.remote-ssh-edit@0.87.0
ms-vscode.remote-explorer@0.5.0
upstash.context7-mcp@1.0.1
(base) user@MacBook:~/build$
Linux Mint Info
(base) user@server:~ % cat /etc/linuxmint/info
RELEASE=21.3
CODENAME=virginia
EDITION="Cinnamon"
DESCRIPTION="Linux Mint 21.3 Virginia"
DESKTOP=Gnome
TOOLKIT=GTK
NEW_FEATURES_URL=https://www.linuxmint.com/rel_virginia_whatsnew.php
RELEASE_NOTES_URL=https://www.linuxmint.com/rel_virginia.php
USER_GUIDE_URL=https://www.linuxmint.com/documentation.php
GRUB_TITLE=Linux Mint 21.3 Cinnamon
(base) user@server:~ % uname -a
Linux server 5.15.0-164-generic #174-Ubuntu SMP Fri Nov 14 20:25:16 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux
(base) user@server:~ % code --list-extensions --show-versions
bierner.markdown-mermaid@1.29.0
docker.docker@0.18.0
github.copilot@1.388.0
github.copilot-chat@0.35.2
moozzyk.arduino@0.0.4
ms-azuretools.vscode-containers@2.3.0
ms-azuretools.vscode-docker@2.0.0
ms-python.debugpy@2025.18.0
ms-python.pylint@2025.2.0
ms-python.python@2025.20.1
ms-python.vscode-pylance@2025.10.4
ms-python.vscode-python-envs@1.14.0
ms-vscode-remote.remote-containers@0.434.0
ms-vscode.cmake-tools@1.21.36
ms-vscode.cpptools@1.29.3
ms-vscode.cpptools-extension-pack@1.3.1
ms-vscode.cpptools-themes@2.0.0
twxs.cmake@0.0.17
(base) user@server:~ % Expected result
Roo Code can use the Gemini 3 Pro, Gemini 3 Flash and Gemini 2.5 Pro models, etc.
Actual result
Request Failed: 400 {"error":{"message":"Tool name is required for Gemini requests","code":"invalid_tool_call_format"}}
Variations tried (optional)
Tried the following models that also failed:
- ❌
copilot - gemini-3-pro - ❌
copilot - gemini-3-flash - ❌
copilot - gemini-2.5-pro
Tried the following models that did not have the issue:
- ✅
copilot - claude-haiku-4.5 - ✅
copilot - gpt-5-codex
App Version
v3.36.16
API Provider (optional)
VS Code Language Model API
Model Used (optional)
gemini-3-pro
Roo Code Task Links (optional)
No response
Relevant logs or errors (optional)
### Basic error info
Date/time: 2025-12-23T03:27:29.951Z
Extension version: 3.36.16
Provider: vscode-lm
Model: copilot/gemini-3-pro
Request Failed: 400 {"error":{"message":"Tool name is required for Gemini requests","code":"invalid_tool_call_format"}}Metadata
Metadata
Assignees
Labels
Type
Projects
Status

