mirror of
https://github.com/langgenius/dify-plugin-sdks.git
synced 2026-07-22 02:15:22 -04:00
[PR #73] [MERGED] fix(entities/model/message): prompt message cannot validate when pass multi type contents #123
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/73
Author: @laipz8200
Created: 3/26/2025
Status: ✅ Merged
Merged: 3/27/2025
Merged by: @Yeuoly
Base:
main← Head:fix/prompt-message-not-validate-when-pass-multi-type-contents📝 Commits (1)
65d9638fix(entities/model/message): prompt message cannot validate when pass multi type contents📊 Changes
2 files changed (+44 additions, -16 deletions)
View changed files
📝
python/dify_plugin/entities/model/message.py(+21 -14)📝
python/tests/test_prompt_message.py(+23 -2)📄 Description
link to https://github.com/langgenius/dify/issues/16353#issuecomment-2754785232
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.