mirror of
https://github.com/langgenius/dify-plugin-sdks.git
synced 2026-07-22 02:15:22 -04:00
[PR #197] [MERGED] feat: add filename support to multi-modal prompt messages #213
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/197
Author: @laipz8200
Created: 8/29/2025
Status: ✅ Merged
Merged: 8/29/2025
Merged by: @Yeuoly
Base:
main← Head:feat/support-filename-in-multi-modal-prompt📝 Commits (2)
ab607aafeat: add filename support to multi-modal prompt messagese8aa8d4docs(README.md): update version binding📊 Changes
2 files changed (+2 additions, -0 deletions)
View changed files
📝
README.md(+1 -0)📝
python/dify_plugin/entities/model/message.py(+1 -0)📄 Description
Summary
This PR adds filename support to multi-modal prompt messages by introducing a
filenamefield to theMultiModalPromptMessageContentclass. This change aligns the SDK with the main Dify repository implementation (PR langgenius/dify#24777).Changes
filenamefield (default: empty string) toMultiModalPromptMessageContentclass inpython/dify_plugin/entities/model/message.pyTesting
Closes #196
Pull Request Checklist
Compatibility Check
README.mdREADME.mdREADME.mdREADME.mdCompatibility Impact: This change is fully backward compatible. The new
filenamefield defaults to an empty string, so existing code will continue to work without modification.Available Checks
🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.