refactor: consolidate OpenAI adapter to accept EndpointConfig
- OpenAIAdapter now accepts EndpointConfig for custom endpoints - added language code conversion via ToProviderFormat - backward-compatible NewOpenAIAdapterFromConfig for migration - works with OpenAI, Groq, and Mistral endpoints
This commit is contained in:
+1
-1
@@ -313,7 +313,7 @@
|
||||
"Transcribe() works with Groq endpoint (different BaseURL)",
|
||||
"Typecheck passes"
|
||||
],
|
||||
"passes": false
|
||||
"passes": true
|
||||
},
|
||||
{
|
||||
"title": "Remove redundant Groq and Mistral transcription adapters",
|
||||
|
||||
Reference in New Issue
Block a user