mirror of
https://github.com/langgenius/dify-official-plugins.git
synced 2026-07-21 17:45:23 -04:00
[PR #1973] [MERGED] Fix the issue where the model deployed by Ollama cannot stream text p… #2182
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/1973
Author: @Cursx
Created: 10/30/2025
Status: ✅ Merged
Merged: 11/4/2025
Merged by: @crazywoola
Base:
main← Head:fix-dify's-issue-Agent-mode-cannot-output-streaming-#27028📝 Commits (2)
1c2b3d9Fix the issue where the model deployed by Ollama cannot stream text properly in the agent90df8b5Update manifest.yaml📊 Changes
2 files changed (+196 additions, -36 deletions)
View changed files
📝
models/ollama/manifest.yaml(+1 -1)📝
models/ollama/models/llm/llm.py(+195 -35)📄 Description
…roperly in the agent
Added module-level constants for maintainability and improved tool call handling in the Ollama large language model class.
Related Issues or Context
issue #1980
This PR contains Changes to Non-Plugin
This PR contains Changes to Non-LLM Models Plugin
This PR contains Changes to LLM Models Plugin
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.6.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.