tenseleyflow/loader / 5c55bac

Browse files

Fix relative import: ..agent.loop not .agent.loop from cli package

Authored by espadonne
SHA
5c55bac1435bc9a08146ebc73f692a369197a62d
Parents
00aec36
Tree
d860879

1 changed file

StatusFile+-
M src/loader/cli/main.py 1 1
src/loader/cli/main.pymodified
@@ -343,7 +343,7 @@ async def _main(
343343
     # This catches models like devstral that work at temp=0 but are
344344
     # unreliable at the actual runtime temperature.
345345
     if not react and hasattr(llm, "probe_native_tool_support"):
346
-        from .agent.loop import AgentConfig as _ProbeCfg
346
+        from ..agent.loop import AgentConfig as _ProbeCfg
347347
         probe_temp = _ProbeCfg.temperature
348348
         console.print(f"[dim]Probing tool support (temp={probe_temp}, 3 rounds)...[/dim]", end="")
349349
         native = await llm.probe_native_tool_support(temperature=probe_temp)