[PR #110] [MERGED] chore: Add Azure OpenAI provider python code #262

Closed
opened 2026-02-15 19:16:56 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/run-llama/create-llama/pull/110
Author: @leehuwuj
Created: 6/4/2024
Status: Merged
Merged: 6/4/2024
Merged by: @marcusschiesser

Base: mainHead: chore/prepare-azure-openai-python-code


📝 Commits (1)

  • 5353141 chore: Add Azure OpenAI model provider python

📊 Changes

1 file changed (+41 additions, -10 deletions)

View changed files

📝 templates/types/streaming/fastapi/app/settings.py (+41 -10)

📄 Description

  • Added the Azure OpenAI provider's Python code (but haven't included the questions or TypeScript code yet)

Summary by CodeRabbit

  • New Features

    • Introduced a new initialization function for Azure OpenAI model setup.
  • Refactor

    • Improved model provider selection by replacing multiple if-elif-else blocks with a more efficient match statement.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/run-llama/create-llama/pull/110 **Author:** [@leehuwuj](https://github.com/leehuwuj) **Created:** 6/4/2024 **Status:** ✅ Merged **Merged:** 6/4/2024 **Merged by:** [@marcusschiesser](https://github.com/marcusschiesser) **Base:** `main` ← **Head:** `chore/prepare-azure-openai-python-code` --- ### 📝 Commits (1) - [`5353141`](https://github.com/run-llama/create-llama/commit/53531419aa4267caf30a8cb865ab55ffcfdb133c) chore: Add Azure OpenAI model provider python ### 📊 Changes **1 file changed** (+41 additions, -10 deletions) <details> <summary>View changed files</summary> 📝 `templates/types/streaming/fastapi/app/settings.py` (+41 -10) </details> ### 📄 Description - Added the Azure OpenAI provider's Python code (but haven't included the questions or TypeScript code yet) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Introduced a new initialization function for Azure OpenAI model setup. - **Refactor** - Improved model provider selection by replacing multiple `if-elif-else` blocks with a more efficient `match` statement. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-15 19:16:56 -05:00
yindo closed this issue 2026-02-15 19:16:56 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: run-llama/create-llama#262