Set the process-wide extra headers for LLM requests.
(headers: dict[str, str])
| 210 | |
| 211 | |
| 212 | def 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 | |
| 218 | def get_extra_headers() -> dict[str, str]: |
no outgoing calls