-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Librarian Agent Timeout on Simple Queries #2997
Copy link
Copy link
Closed
Description
Librarian Agent Timeout on Simple Queries
Environment
- OMO Version: Latest (dev branch)
- OS: Windows (PowerShell)
- Model:
polo-gemini/gemini-3.1-pro-preview
Issue Description
Librarian agent times out on simple web search queries, taking 1+ minutes without completing.
Steps to Reproduce
task(
subagent_type="librarian",
load_skills=[],
run_in_background=true,
description="Simple web search test",
prompt="Use web search to query 'What is STM32', answer in one sentence. Do not use gh command."
)Expected Behavior
- Complete within 10-30 seconds
- Return search results from web
Actual Behavior
- Runs for 1 minute 29 seconds
- Status shows "running" with
last_tool: bash - Never completes, must be manually cancelled
Suspected Root Cause
Librarian appears to be attempting gh (GitHub CLI) commands or other unstable tools instead of prioritizing web search, causing the timeout.
Suggested Fix
- Add 2-minute timeout for all Librarian tasks
- Prioritize
websearchtool overghcommands - Implement tool fallback: if
ghfails, automatically retry withwebsearch
Workaround
Explicitly specify tool in prompt:
"Use websearch tool to query XXX, do not use gh command"
Impact
- Librarian is unusable for external documentation queries
- Users must manually specify tools, defeating the purpose of agent autonomy
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels