[PR #212] [MERGED] Add json_schema option to parameter rules for o1 and o3-mini #1183

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

📋 Pull Request Information

Original PR: https://github.com/langgenius/dify-official-plugins/pull/212
Author: @knowlet
Created: 2/14/2025
Status: Merged
Merged: 3/4/2025
Merged by: @crazywoola

Base: mainHead: feat/add-json-schema


📝 Commits (4)

  • 261bc30 Add json_schema option to parameter rules for o1 and o3-mini
  • 1a9aa29 update yaml
  • d8000f7 Merge branch 'main' into feat/add-json-schema
  • 64373eb chore: bump version to 0.0.11 in openai manifest

📊 Changes

4 files changed (+10 additions, -1 deletions)

View changed files

📝 models/openai/manifest.yaml (+1 -1)
📝 models/openai/models/llm/o1-mini.yaml (+3 -0)
📝 models/openai/models/llm/o1.yaml (+3 -0)
📝 models/openai/models/llm/o3-mini.yaml (+3 -0)

📄 Description

Add json_schema option to parameter rules for o1, o1-mini, and o3-mini models.

  • models/openai/models/llm/o1.yaml

    • Add json_schema to options under parameter_rules.
    • Add json_schema with use_template: json_schema to parameter_rules.
  • models/openai/models/llm/o1-mini.yaml

    • Add json_schema to options under parameter_rules.
    • Add json_schema with use_template: json_schema to parameter_rules.
  • models/openai/models/llm/o3-mini.yaml

    • Add json_schema to options under parameter_rules.
    • Add json_schema with use_template: json_schema to parameter_rules.

Reference:
https://github.com/langgenius/dify/pull/13527
https://platform.openai.com/docs/guides/structured-outputs?example=chain-of-thought#supported-models


🔄 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/212 **Author:** [@knowlet](https://github.com/knowlet) **Created:** 2/14/2025 **Status:** ✅ Merged **Merged:** 3/4/2025 **Merged by:** [@crazywoola](https://github.com/crazywoola) **Base:** `main` ← **Head:** `feat/add-json-schema` --- ### 📝 Commits (4) - [`261bc30`](https://github.com/langgenius/dify-official-plugins/commit/261bc3041198fe061fee2bb8b49d1011003c8b62) Add json_schema option to parameter rules for o1 and o3-mini - [`1a9aa29`](https://github.com/langgenius/dify-official-plugins/commit/1a9aa29bf07408b69e78d003930d399542d849dd) update yaml - [`d8000f7`](https://github.com/langgenius/dify-official-plugins/commit/d8000f760bce700958f3bd771f4c752bfb2569a4) Merge branch 'main' into feat/add-json-schema - [`64373eb`](https://github.com/langgenius/dify-official-plugins/commit/64373ebd10131dbe076fddc30d3905f6a6aca456) chore: bump version to 0.0.11 in openai manifest ### 📊 Changes **4 files changed** (+10 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `models/openai/manifest.yaml` (+1 -1) 📝 `models/openai/models/llm/o1-mini.yaml` (+3 -0) 📝 `models/openai/models/llm/o1.yaml` (+3 -0) 📝 `models/openai/models/llm/o3-mini.yaml` (+3 -0) </details> ### 📄 Description Add `json_schema` option to parameter rules for `o1`, `o1-mini`, and `o3-mini` models. * **models/openai/models/llm/o1.yaml** - Add `json_schema` to `options` under `parameter_rules`. - Add `json_schema` with `use_template: json_schema` to `parameter_rules`. * **models/openai/models/llm/o1-mini.yaml** - Add `json_schema` to `options` under `parameter_rules`. - Add `json_schema` with `use_template: json_schema` to `parameter_rules`. * **models/openai/models/llm/o3-mini.yaml** - Add `json_schema` to `options` under `parameter_rules`. - Add `json_schema` with `use_template: json_schema` to `parameter_rules`. --- Reference: https://github.com/langgenius/dify/pull/13527 https://platform.openai.com/docs/guides/structured-outputs?example=chain-of-thought#supported-models --- <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:14 -05:00
yindo closed this issue 2026-02-16 10:22:14 -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#1183