Spaces:
Build error
Build error
File size: 357 Bytes
a6e3889 | 1 2 3 4 5 6 7 8 9 10 11 12 | """
Instant mode — no tool use, single model call, reply fast.
"""
from agent.savvy import Savvy
async def run_instant(savvy: Savvy, user_input: str, ctx: dict) -> str:
"""Return a direct reply with no tool access."""
messages = savvy.build_messages(user_input)
reply, _ = await savvy.reason(messages, ctx, use_tools=False)
return reply
|