mirror of
https://github.com/langgenius/dify-plugin-sdks.git
synced 2026-07-22 02:15:22 -04:00
[PR #122] [MERGED] feat: support list in JsonMessage #161
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-plugin-sdks/pull/122
Author: @jingfelix
Created: 4/28/2025
Status: ✅ Merged
Merged: 5/6/2025
Merged by: @Yeuoly
Base:
main← Head:feat/support-list📝 Commits (1)
dd1d09ffeat: support list in ToolInvokeMessage.JsonMessage📊 Changes
2 files changed (+2 additions, -2 deletions)
View changed files
📝
python/dify_plugin/entities/tool.py(+1 -1)📝
python/dify_plugin/interfaces/tool/__init__.py(+1 -1)📄 Description
Add type
listto JsonMessage. NowTool.create_json_messagecan return alist.Example:

Note that corresponding support needs to be added simultaneously in https://github.com/langgenius/dify
Relevent PR in Dify: #19026
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.