SavvyTelegram / instant.py
StarpowerTechnology's picture
Upload 13 files
a6e3889 verified
"""
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