mirror of
https://github.com/langgenius/dify-plugin-sdks.git
synced 2026-07-22 02:15:22 -04:00
The 'create_json_message(self, json: Mapping | list)' method can only input 'dict'. If 'list' is input, it will be automatically ignored as null #69
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?
Originally created by @xuming9 on GitHub (Dec 24, 2025).
issue
I am creating a plugin tool for converting strings in array format to arrays. After repeated testing and verification, it was found that the method 'creat_json message' can only input 'dict', and if 'list' is input, it will automatically ignore it as null
For example: when entering ['a ','b'] , the plugin should output {"text": "", "files": [], "json": ["a", "b"]} , but in reality it outputs FAIL
background
code
py
** yaml **
log: