Skip to content

feat(backend): add Azure OpenAI provider and LLM provider switch#200

Open
gonewiththeway wants to merge 1 commit into666ghj:mainfrom
gonewiththeway:feat/azure-openai-llm
Open

feat(backend): add Azure OpenAI provider and LLM provider switch#200
gonewiththeway wants to merge 1 commit into666ghj:mainfrom
gonewiththeway:feat/azure-openai-llm

Conversation

@gonewiththeway
Copy link

feat(backend): add Azure OpenAI provider and LLM provider switch

  • Add LLM_PROVIDER (openai | azure_openai) and Azure env vars in config
  • LLMClient: use Azure when provider=azure_openai (base_url, deployment, max_completion_tokens)
  • Use max_completion_tokens for azure_openai to satisfy Azure API
  • Add request/response and exception logging in llm_client for debugging
  • Extend .env.example with LLM_PROVIDER and Azure OpenAI options
  • Update README.md and README-EN.md with provider docs and env examples
  • No new Python dependencies; pyproject.toml and uv.lock unchanged

Made with Cursor

    - Add LLM_PROVIDER (openai | azure_openai) and Azure env vars in config
    - LLMClient: use Azure when provider=azure_openai (base_url, deployment, max_completion_tokens)
    - Use max_completion_tokens for azure_openai to satisfy Azure API
    - Add request/response and exception logging in llm_client for debugging
    - Extend .env.example with LLM_PROVIDER and Azure OpenAI options
    - Update README.md and README-EN.md with provider docs and env examples
    - No new Python dependencies; pyproject.toml and uv.lock unchanged
@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. enhancement New feature or request LLM API Any questions regarding the LLM API labels Mar 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request LLM API Any questions regarding the LLM API size:L This PR changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant