-
Notifications
You must be signed in to change notification settings - Fork 663
Closed as duplicate
Closed as duplicate
Copy link
Description
Bug Description
When using the task tool to invoke agents configured with Google/Gemini models, the tool returns an empty response. The same agents work correctly when called through call_omo_agent (for supported agents like explore and librarian).
Environment
- OpenCode with oh-my-opencode plugin
- Antigravity authentication configured and working
- All OAuth credentials verified (Google, Anthropic, OpenAI)
Steps to Reproduce
- Configure an agent with a Gemini model in
oh-my-opencode.json:
"ui_expert": {
"model": "google/gemini-3-pro-high"
}- Call the agent using
tasktool:
task(subagent_type="ui_expert", prompt="Reply OK only")
- Observe: Empty response returned
Tested Model Variants
All return empty responses via task tool:
google/gemini-3-pro-highgoogle/gemini-3-flashgoogle/antigravity-gemini-3-pro-highgoogle/antigravity-gemini-3-flashgoogle/antigravity-gemini-3-pro-low
Working Cases
| Tool | Agent | Model | Result |
|---|---|---|---|
task |
flutter_arch |
anthropic/claude-opus-4-5 |
✅ Works |
task |
security_audit |
openai/gpt-5.2 |
✅ Works |
task |
ui_expert |
google/gemini-3-pro-high |
❌ Empty |
task |
frontend-ui-ux-engineer |
google/gemini-3-pro-high |
❌ Empty |
call_omo_agent |
librarian |
google/gemini-3-flash |
✅ Works |
call_omo_agent |
explore |
google/gemini-3-flash |
✅ Works |
Authentication Verification
$ opencode auth list
● Anthropic oauth
● OpenAI oauth
● Google oauth
● Google GEMINI_API_KEY (env)
Antigravity authentication also confirmed working with valid refresh token.
Expected Behavior
task tool should return responses from Gemini model agents, similar to how it works for Anthropic and OpenAI models.
Workaround
Currently, only explore and librarian agents can use Gemini models (via call_omo_agent). Custom agents like ui_expert cannot use Gemini models.
Temporary workaround: Change custom agents to use Anthropic or OpenAI models instead.
Metadata
Metadata
Assignees
Labels
No labels