(self)
| 117 | _DEFAULT_CONFIG_CLASS = OpenAIModelConfig |
| 118 | |
| 119 | def _request_headers(self) -> dict[str, str]: |
| 120 | return { |
| 121 | "Content-Type": "application/json", |
| 122 | "Authorization": f"Bearer {self.config.openai_api_key}", |
| 123 | } |
| 124 | |
| 125 | def _post_url(self) -> str: |
| 126 | return self.config.openai_endpoint |
nothing calls this directly
no outgoing calls
no test coverage detected