[PR #91] [CLOSED] fix(openai_compatible): set stream-tool-call's default value to not_support #137

Closed
opened 2026-02-15 21:15:55 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langgenius/dify-plugin-sdks/pull/91
Author: @Nov1c444
Created: 4/14/2025
Status: Closed

Base: mainHead: fix/custom-model-tool-call


📝 Commits (1)

  • 638efb4 fix(openai_compatible): set stream-tool-call's default value to not_support

📊 Changes

1 file changed (+2 additions, -3 deletions)

View changed files

📝 python/dify_plugin/interfaces/model/openai_compatible/llm.py (+2 -3)

📄 Description

Descrption

Due to openai_compatible custom models having default support for stream_tool_call, Agent applications using these models will automatically select Function Call mode, resulting in execution.

Fixes https://github.com/langgenius/dify/issues/17917


🔄 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-plugin-sdks/pull/91 **Author:** [@Nov1c444](https://github.com/Nov1c444) **Created:** 4/14/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `fix/custom-model-tool-call` --- ### 📝 Commits (1) - [`638efb4`](https://github.com/langgenius/dify-plugin-sdks/commit/638efb4c60a29a495d1a734d5c58c4e0702ab42c) fix(openai_compatible): set stream-tool-call's default value to not_support ### 📊 Changes **1 file changed** (+2 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `python/dify_plugin/interfaces/model/openai_compatible/llm.py` (+2 -3) </details> ### 📄 Description ## Descrption Due to openai_compatible custom models having default support for stream_tool_call, Agent applications using these models will automatically select Function Call mode, resulting in execution. Fixes https://github.com/langgenius/dify/issues/17917 --- <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 21:15:55 -05:00
yindo closed this issue 2026-02-15 21:15:55 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-plugin-sdks#137