[PR #402] [MERGED] Add o3-mini support for azure_openai, also add structured output support for reasoning models #1345

Closed
opened 2026-02-16 10:22:41 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langgenius/dify-official-plugins/pull/402
Author: @ymshenyu
Created: 3/8/2025
Status: Merged
Merged: 3/8/2025
Merged by: @crazywoola

Base: mainHead: main


📝 Commits (3)

  • dd18e5b feat(azure_openai): add o3-mini support
  • e26a427 fix: fix tokens calculation for o3-mini
  • 6fc7c25 feat: add json_schema support for both o1 and o3

📊 Changes

4 files changed (+83 additions, -6 deletions)

View changed files

📝 models/azure_openai/manifest.yaml (+1 -1)
📝 models/azure_openai/models/constants.py (+70 -2)
📝 models/azure_openai/models/llm/llm.py (+6 -3)
📝 models/azure_openai/provider/azure_openai.yaml (+6 -0)

📄 Description

No description provided


🔄 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/langgenius/dify-official-plugins/pull/402 **Author:** [@ymshenyu](https://github.com/ymshenyu) **Created:** 3/8/2025 **Status:** ✅ Merged **Merged:** 3/8/2025 **Merged by:** [@crazywoola](https://github.com/crazywoola) **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (3) - [`dd18e5b`](https://github.com/langgenius/dify-official-plugins/commit/dd18e5baa42a4eb85e64846dc958add9dc1d8afb) feat(azure_openai): add o3-mini support - [`e26a427`](https://github.com/langgenius/dify-official-plugins/commit/e26a42756e8c6474fd874b15619c887b19f63e78) fix: fix tokens calculation for o3-mini - [`6fc7c25`](https://github.com/langgenius/dify-official-plugins/commit/6fc7c25905e3463b93c8840275e45782b8caabba) feat: add json_schema support for both o1 and o3 ### 📊 Changes **4 files changed** (+83 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `models/azure_openai/manifest.yaml` (+1 -1) 📝 `models/azure_openai/models/constants.py` (+70 -2) 📝 `models/azure_openai/models/llm/llm.py` (+6 -3) 📝 `models/azure_openai/provider/azure_openai.yaml` (+6 -0) </details> ### 📄 Description _No description provided_ --- <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-16 10:22:41 -05:00
yindo closed this issue 2026-02-16 10:22:41 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-official-plugins#1345