mirror of
https://github.com/langgenius/dify-official-plugins.git
synced 2026-07-22 01:55:27 -04:00
[PR #1307] [MERGED] Fix: refract tool calling for all available models #1825
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/langgenius/dify-official-plugins/pull/1307
Author: @fdb02983rhy
Created: 7/18/2025
Status: ✅ Merged
Merged: 7/19/2025
Merged by: @crazywoola
Base:
main← Head:fix-oai-tool-call-to-all-models📝 Commits (2)
6ef2c4eFix: refract tool calling for all available models1aeecbcComment out o-series system prompt compatibility logic📊 Changes
11 files changed (+159 additions, -98 deletions)
View changed files
📝
models/openai/manifest.yaml(+1 -1)📝
models/openai/models/llm/llm.py(+141 -94)📝
models/openai/models/llm/o3-2025-04-16.yaml(+3 -0)📝
models/openai/models/llm/o3-mini-2025-01-31.yaml(+2 -0)📝
models/openai/models/llm/o3-mini.yaml(+2 -2)📝
models/openai/models/llm/o3-pro-2025-06-10.yaml(+1 -0)📝
models/openai/models/llm/o3-pro.yaml(+1 -0)📝
models/openai/models/llm/o3.yaml(+2 -0)📝
models/openai/models/llm/o4-mini-2025-04-16.yaml(+3 -0)📝
models/openai/models/llm/o4-mini.yaml(+2 -0)📝
models/openai/requirements.txt(+1 -1)📄 Description
Related Issues or Context
Fixes https://github.com/langgenius/dify-official-plugins/issues/1282
Fixes https://github.com/langgenius/dify-official-plugins/issues/878
Now o-series can also use tool calling and streming.
This PR contains Changes to Non-Plugin
This PR contains Changes to Non-LLM Models Plugin
This PR contains Changes to LLM Models Plugin
Other Models
https://github.com/user-attachments/assets/2c89c827-b695-487c-b9cd-68189394b214
O-Series
https://github.com/user-attachments/assets/8e0d1dee-ce9b-477b-8c51-fd284157d1b6
Version Control (Any Changes to the Plugin Will Require Bumping the Version)
VersionField, Not in Meta Section)Dify Plugin SDK Version
dify_plugin>=0.3.0,<0.5.0is in requirements.txt (SDK docs)Environment Verification (If Any Code Changes)
Local Deployment Environment
SaaS Environment
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.