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

Function set_extra_headers

openkb/config.py:212–215  ·  view source on GitHub ↗

Set the process-wide extra headers for LLM requests.

(headers: dict[str, str])

Source from the content-addressed store, hash-verified

210
211
212def set_extra_headers(headers: dict[str, str]) -> None:
213 """Set the process-wide extra headers for LLM requests."""
214 global _runtime_extra_headers
215 _runtime_extra_headers = dict(headers)
216
217
218def get_extra_headers() -> dict[str, str]:

Calls

no outgoing calls