[PR #73] [MERGED] fix(entities/model/message): prompt message cannot validate when pass multi type contents #123

Closed
opened 2026-02-15 21:15:51 -05:00 by yindo · 0 comments
Owner

📋 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: mainHead: fix/prompt-message-not-validate-when-pass-multi-type-contents


📝 Commits (1)

  • 65d9638 fix(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.

## 📋 Pull Request Information **Original PR:** https://github.com/langgenius/dify-plugin-sdks/pull/73 **Author:** [@laipz8200](https://github.com/laipz8200) **Created:** 3/26/2025 **Status:** ✅ Merged **Merged:** 3/27/2025 **Merged by:** [@Yeuoly](https://github.com/Yeuoly) **Base:** `main` ← **Head:** `fix/prompt-message-not-validate-when-pass-multi-type-contents` --- ### 📝 Commits (1) - [`65d9638`](https://github.com/langgenius/dify-plugin-sdks/commit/65d9638071a5a852422104c720844031288ad251) fix(entities/model/message): prompt message cannot validate when pass multi type contents ### 📊 Changes **2 files changed** (+44 additions, -16 deletions) <details> <summary>View changed files</summary> 📝 `python/dify_plugin/entities/model/message.py` (+21 -14) 📝 `python/tests/test_prompt_message.py` (+23 -2) </details> ### 📄 Description link to https://github.com/langgenius/dify/issues/16353#issuecomment-2754785232 --- <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-15 21:15:51 -05:00
yindo closed this issue 2026-02-15 21:15:51 -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-sdks#123