MCPcopy Create free account
hub / github.com/CommonstackAI/UncommonRoute / _set_header

Function _set_header

uncommon_route/proxy.py:2020–2021  ·  view source on GitHub ↗
(headers: dict[str, str], key: str, value: object)

Source from the content-addressed store, hash-verified

2018
2019
2020def _set_header(headers: dict[str, str], key: str, value: object) -> None:
2021 headers[key] = _safe_header_value(value)
2022
2023
2024def _apply_provider_cache_plan(

Callers 3

_handle_chat_coreFunction · 0.85

Calls 1

_safe_header_valueFunction · 0.85

Tested by

no test coverage detected