We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b95c32a commit ff34cdeCopy full SHA for ff34cde
src/api/providers/openai.ts
@@ -23,6 +23,9 @@ import { BaseProvider } from "./base-provider"
23
24
export const AZURE_AI_INFERENCE_PATH = "/models/chat/completions"
25
26
+// TODO: Rename this to OpenAICompatibleHandler. Also, I think the
27
+// `OpenAINativeHandler` can subclass from this, since it's obviously
28
+// compatible with the OpenAI API. We can also rename it to `OpenAIHandler`.
29
export class OpenAiHandler extends BaseProvider implements SingleCompletionHandler {
30
protected options: ApiHandlerOptions
31
private client: OpenAI
0 commit comments