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

Function get_timeout_extra_args

openkb/config.py:239–243  ·  view source on GitHub ↗

Timeout as Agents-SDK ``ModelSettings.extra_args`` (it has no ``timeout`` field), or ``None``. The LiteLLM provider forwards it to the completion call.

()

Source from the content-addressed store, hash-verified

237
238
239def get_timeout_extra_args() -> dict[str, float] | None:
240 """Timeout as Agents-SDK ``ModelSettings.extra_args`` (it has no ``timeout``
241 field), or ``None``. The LiteLLM provider forwards it to the completion call.
242 """
243 return {"timeout": _runtime_timeout} if _runtime_timeout is not None else None
244
245
246def load_config(config_path: Path) -> dict[str, Any]:

Callers 6

generate_eval_setFunction · 0.90
grade_oneFunction · 0.90
grade_coverageFunction · 0.90
build_skill_create_agentFunction · 0.90
build_lint_agentFunction · 0.90
build_query_agentFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected