Set the process-wide LLM request timeout in seconds; ``None`` clears it.
(timeout: float | None)
| 226 | |
| 227 | |
| 228 | def 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 | |
| 234 | def get_timeout() -> float | None: |
no outgoing calls