mirror of
https://github.com/langgenius/dify-plugin-sdks.git
synced 2026-07-22 02:15:22 -04:00
[PR #49] [MERGED] fix: Update prompt message content types to use Literal and add union type for content #105
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/49
Author: @laipz8200
Created: 3/14/2025
Status: ✅ Merged
Merged: 3/17/2025
Merged by: @Yeuoly
Base:
main← Head:fix/correct-type-hint-of-prompt-message-content📝 Commits (1)
38ece31fix: Update prompt message content types to use Literal and add union type for content📊 Changes
2 files changed (+36 additions, -14 deletions)
View changed files
📝
python/dify_plugin/entities/model/message.py(+20 -13)📝
python/tests/test_prompt_message.py(+16 -1)📄 Description
fixes #48
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.