refactor: update all search_web references to lookup

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-17 21:57:46 -04:00
parent 06cd3493fd
commit d5e6a8f6da
3 changed files with 4 additions and 3 deletions
+2 -1
View File
@@ -604,8 +604,9 @@ async def build_context(
"Always include the UTC offset in datetime strings (e.g. 2026-09-30T14:00:00+01:00)."
)
tool_lines.append("When the user says 'remind me' with a time before an event, use the reminder_minutes parameter.")
actions.append("lookup")
if Config.searxng_enabled():
actions.extend(["search_web", "research_topic", "search_images"])
actions.extend(["research_topic", "search_images"])
tool_lines.append(f"Available actions: {', '.join(actions)}.")
tool_lines.append(
"For relative dates like 'Friday' or 'next week', resolve them to YYYY-MM-DD format. "