(self, model: str, api_key: str, base_url: Optional[str] = None, timeout: float = 60.0)
| 108 | name = "openai" |
| 109 | |
| 110 | def __init__(self, model: str, api_key: str, base_url: Optional[str] = None, timeout: float = 60.0) -> None: |
| 111 | from openai import OpenAI # local import keeps dependency optional |
| 112 | |
| 113 | self.model = model |
| 114 | self._client = OpenAI(api_key=api_key, base_url=base_url, timeout=timeout) |
| 115 | |
| 116 | def generate( |
| 117 | self, |
nothing calls this directly
no outgoing calls
no test coverage detected