Skip to content

Commit ff34cde

Browse files
committed
Add comment
1 parent b95c32a commit ff34cde

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/api/providers/openai.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ import { BaseProvider } from "./base-provider"
2323

2424
export const AZURE_AI_INFERENCE_PATH = "/models/chat/completions"
2525

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`.
2629
export class OpenAiHandler extends BaseProvider implements SingleCompletionHandler {
2730
protected options: ApiHandlerOptions
2831
private client: OpenAI

0 commit comments

Comments
 (0)