[PR #40] [MERGED] feat: add llm blocking invoke #99

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

📋 Pull Request Information

Original PR: https://github.com/langgenius/dify-plugin-sdks/pull/40
Author: @Nov1c444
Created: 3/13/2025
Status: Merged
Merged: 3/18/2025
Merged by: @Yeuoly

Base: mainHead: fix/fc-stream-error


📝 Commits (4)

  • 50a9fb4 feat: add llm blocking invoke
  • fd5c663 fix: switch to using generator to handle non-streaming requests
  • 313ac86 fix: type issues
  • b994a2e Merge branch 'main' into fix/fc-stream-error

📊 Changes

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

View changed files

📝 python/dify_plugin/invocations/model/llm.py (+2 -1)

📄 Description

Added support for calling blocking model methods from within plugins to enable non-streaming Function Call invocations. The related PRs are as follows:
https://github.com/langgenius/dify/pull/15732


🔄 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/40 **Author:** [@Nov1c444](https://github.com/Nov1c444) **Created:** 3/13/2025 **Status:** ✅ Merged **Merged:** 3/18/2025 **Merged by:** [@Yeuoly](https://github.com/Yeuoly) **Base:** `main` ← **Head:** `fix/fc-stream-error` --- ### 📝 Commits (4) - [`50a9fb4`](https://github.com/langgenius/dify-plugin-sdks/commit/50a9fb4ce2b33930378356988deb6429179a3e3c) feat: add llm blocking invoke - [`fd5c663`](https://github.com/langgenius/dify-plugin-sdks/commit/fd5c663a1c5f25432117d8de852e89b17bfe5930) fix: switch to using generator to handle non-streaming requests - [`313ac86`](https://github.com/langgenius/dify-plugin-sdks/commit/313ac861f374577a23fe2003ed92cffab20d115f) fix: type issues - [`b994a2e`](https://github.com/langgenius/dify-plugin-sdks/commit/b994a2e111c68f205731f7bd93681905c59a1ca9) Merge branch 'main' into fix/fc-stream-error ### 📊 Changes **1 file changed** (+2 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `python/dify_plugin/invocations/model/llm.py` (+2 -1) </details> ### 📄 Description Added support for calling blocking model methods from within plugins to enable non-streaming Function Call invocations. The related PRs are as follows: https://github.com/langgenius/dify/pull/15732 --- <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:46 -05:00
yindo closed this issue 2026-02-15 21:15:46 -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#99