Fix relative import: ..agent.loop not .agent.loop from cli package
- SHA
5c55bac1435bc9a08146ebc73f692a369197a62d- Parents
-
00aec36 - Tree
d860879
5c55bac
5c55bac1435bc9a08146ebc73f692a369197a62d00aec36
d860879| Status | File | + | - |
|---|---|---|---|
| M |
src/loader/cli/main.py
|
1 | 1 |
src/loader/cli/main.pymodified@@ -343,7 +343,7 @@ async def _main( | ||
| 343 | 343 | # This catches models like devstral that work at temp=0 but are |
| 344 | 344 | # unreliable at the actual runtime temperature. |
| 345 | 345 | 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 | |
| 347 | 347 | probe_temp = _ProbeCfg.temperature |
| 348 | 348 | console.print(f"[dim]Probing tool support (temp={probe_temp}, 3 rounds)...[/dim]", end="") |
| 349 | 349 | native = await llm.probe_native_tool_support(temperature=probe_temp) |