mirror of
https://github.com/langgenius/dify-plugin-sdks.git
synced 2026-07-22 02:15:22 -04:00
[PR #236] [MERGED] fix: add more test cases for model factory #247
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/236
Author: @Yeuoly
Created: 11/14/2025
Status: ✅ Merged
Merged: 11/14/2025
Merged by: @Yeuoly
Base:
main← Head:fix/model-factory-test📝 Commits (6)
a03cfe2fix: add more test cases for model factoryeee44edfic: apply ruff66e20e6fix: apply input_type to MockTextEmbeddingModel108e7d9fix: add commentsdf3d517fix: ci8b84ec0apply riff📊 Changes
3 files changed (+147 additions, -14 deletions)
View changed files
📝
python/tests/interfaces/model/test_model_registry_get_model.py(+70 -14)➕
python/tests/interfaces/model/test_text_embedding.py(+50 -0)➕
python/tests/interfaces/model/utils.py(+27 -0)📄 Description
Pull Request Checklist
Thank you for your contribution! Before submitting your PR, please make sure you have completed the following checks:
Compatibility Check
README.mdREADME.mdREADME.mdREADME.mdAvailable Checks
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.