[PR #38] [MERGED] fix: make description field optional in PromptMessageTool #273

Closed
opened 2026-02-16 01:15:20 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langgenius/dify-plugin-daemon/pull/38
Author: @laipz8200
Created: 2/27/2025
Status: Merged
Merged: 2/27/2025
Merged by: @Yeuoly

Base: mainHead: fix/tool-without-description-cannot-work


📝 Commits (1)

  • 4fd4602 fix: make description field optional in PromptMessageTool

📊 Changes

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

View changed files

📝 pkg/entities/model_entities/llm.go (+1 -1)

📄 Description

To resolve the Tool invoke error.

before

image

after

image

🔄 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-daemon/pull/38 **Author:** [@laipz8200](https://github.com/laipz8200) **Created:** 2/27/2025 **Status:** ✅ Merged **Merged:** 2/27/2025 **Merged by:** [@Yeuoly](https://github.com/Yeuoly) **Base:** `main` ← **Head:** `fix/tool-without-description-cannot-work` --- ### 📝 Commits (1) - [`4fd4602`](https://github.com/langgenius/dify-plugin-daemon/commit/4fd460228ef7d72914b56b89eac327b713b4c67c) fix: make description field optional in PromptMessageTool ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `pkg/entities/model_entities/llm.go` (+1 -1) </details> ### 📄 Description To resolve the Tool invoke error. **before** ![image](https://github.com/user-attachments/assets/f36f78d2-667b-44e9-a0a3-725cd470f0e3) **after** <img width="1535" alt="image" src="https://github.com/user-attachments/assets/eb379944-be9f-47e4-9a19-25e43071bd30" /> --- <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 01:15:20 -05:00
yindo closed this issue 2026-02-16 01:15:20 -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-daemon#273