()
| 26 | |
| 27 | |
| 28 | def test_llm_call_forwards_configured_timeout(): |
| 29 | set_timeout(1200.0) |
| 30 | with patch( |
| 31 | "openkb.agent.compiler.litellm.completion", return_value=_fake_response() |
| 32 | ) as completion: |
| 33 | _llm_call("gpt-4o", [{"role": "user", "content": "hi"}], "step") |
| 34 | assert completion.call_args.kwargs["timeout"] == 1200.0 |
| 35 | |
| 36 | |
| 37 | def test_llm_call_omits_timeout_when_unset(): |
nothing calls this directly
no test coverage detected