-
Notifications
You must be signed in to change notification settings - Fork 2.3k
[Feature] Azure OpenAI LLMAdapter #24
Copy link
Copy link
Open
Labels
P2Community contributions welcome — good first issuesCommunity contributions welcome — good first issuesenhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomerssource:analysisSource: systematic gap analysisSource: systematic gap analysis
Metadata
Metadata
Assignees
Labels
P2Community contributions welcome — good first issuesCommunity contributions welcome — good first issuesenhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomerssource:analysisSource: systematic gap analysisSource: systematic gap analysis
Add support for Azure-hosted OpenAI models. Azure OpenAI uses a different URL pattern and API versioning scheme (
/openai/deployments/{deployment-id}/chat/completions?api-version=...) that doesn't work cleanly withbaseURLalone.Implementation:
src/llm/azure-openai.ts(extend or wrap existingOpenAIAdapter)'azure-openai'increateAdapter()factoryexamples/Env vars:
AZURE_OPENAI_API_KEY,AZURE_OPENAI_ENDPOINT,AZURE_OPENAI_DEPLOYMENT