Skip to content

The agent that grows with you

refactor(agent): drop the `Optional` import orphaned by the LM Studio helper removal

kshitijk4poor8c6cb6f9958e
diff --git a/agent/reasoning_params.py b/agent/reasoning_params.py
index ee436f30445..05b253a6543 100644
--- a/agent/reasoning_params.py
+++ b/agent/reasoning_params.py
@@ -5,7 +5,6 @@ When ``reasoning`` extra_body is safe to send, LM Studio / Ollama / GitHub Model
Extracted from ``run_agent.py``; every method resolves through ``AIAgent``'s MRO unchanged.
"""
import time
-from typing import Optional
from agent.lazy_forward import forward as _forward, forward_static as _forward_static
from agent.message_sanitization import matches_reasoning_echo_family