MCPcopy Create free account
hub / github.com/VectifyAI/OpenKB / set_timeout

Function set_timeout

openkb/config.py:228–231  ·  view source on GitHub ↗

Set the process-wide LLM request timeout in seconds; ``None`` clears it.

(timeout: float | None)

Source from the content-addressed store, hash-verified

226
227
228def set_timeout(timeout: float | None) -> None:
229 """Set the process-wide LLM request timeout in seconds; ``None`` clears it."""
230 global _runtime_timeout
231 _runtime_timeout = timeout
232
233
234def get_timeout() -> float | None:

Calls

no outgoing calls