MCPcopy Create free account
hub / github.com/anomalyco/opencode-sdk-python / default_headers

Method default_headers

src/opencode_ai/_base_client.py:645–653  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

643
644 @property
645 def default_headers(self) -> dict[str, str | Omit]:
646 return {
647 "Accept": "application/json",
648 "Content-Type": "application/json",
649 "User-Agent": self.user_agent,
650 **self.platform_headers(),
651 **self.auth_headers,
652 **self._custom_headers,
653 }
654
655 @property
656 def default_query(self) -> dict[str, object]:

Callers

nothing calls this directly

Calls 1

platform_headersMethod · 0.95

Tested by

no test coverage detected