release(v0.0.4): add customizable models in Dify UI and new predefined models#2491
Merged
Conversation
…ort and enhancements
crazywoola
requested changes
Jun 4, 2026
Member
crazywoola
left a comment
There was a problem hiding this comment.
❌ Request Changes
Decision: Request changes
Failed Checks
| Check | Status | Detail | Required action |
|---|---|---|---|
dify_plugin version |
❌ Fail | dify_plugin version must be >= 0.9.0; found 0.5.1. | Use dify_plugin >= 0.9.0 in the packaged plugin environment. |
Full Check Results
| Check | Status | Detail | Required action |
|---|---|---|---|
PR content language |
✅ Pass | PR title/body CJK ratio=0.0% (zh=0, en=1602, ignored_zh=0, allowed_zh<=0) | None. |
Project structure |
✅ Pass | All expected files present: manifest.yaml, README.md, PRIVACY.md. _assets/: yes. | None. |
Manifest author |
✅ Pass | author is valid. | None. |
Icon validation |
✅ Pass | icon exists: _assets/icon_s_en.svg | None. |
Version check |
✅ Pass | version 0.0.4 is available. | None. |
README language |
✅ Pass | README.md CJK ratio=0.0% (zh=0, en=2233, allowed_zh<=0) | None. |
PRIVACY.md |
✅ Pass | PRIVACY.md exists and is non-empty. | None. |
Dependency install |
✅ Pass | requirements installed successfully. | None. |
dify_plugin version |
❌ Fail | dify_plugin version must be >= 0.9.0; found 0.5.1. | Use dify_plugin >= 0.9.0 in the packaged plugin environment. |
Install test |
✅ Pass | plugin install test passed. | None. |
Packaging test |
✅ Pass | packaging check passed. | None. |
Next steps
- dify_plugin version: Use dify_plugin >= 0.9.0 in the packaged plugin environment.
Please address these issues and push an update.
crazywoola
approved these changes
Jun 4, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
**## Summary
This PR releases v0.0.4. It keeps the existing predefined model list and adds support for adding TokenHub models from the Dify UI, so users no longer need to wait for a new plugin release when TokenHub ships a new model.
Customizable models (
customizable-model)customizable-modelandmodel_credential_schemainprovider/tokenhub.yamlget_customizable_model_schema()inllm.pyto build parameter rules and features from credentialsThinking mode / reasoning effort
THINKING_TOGGLE_MODELS/REASONING_EFFORT_MODELS)support_thinking/support_reasoning_effortfrom credentials, so new models do not require code changesNew predefined models
deepseek-v4-pro-202606(DeepSeek-V4-Pro factory direct)deepseek-v4-flash-202605(DeepSeek-V4-Flash factory direct)minimax-m3(MiniMax-M3)Bug fix
Yes/Nobeing parsed as booleans in YAML, which caused Pydantic validation failures on plugin startup (now quoted as"Yes"/"No")Version
manifest.yamlandCHANGELOG.mdto 0.0.4Test plan
dify plugin packageand confirm packaging succeeds (versionis semver0.0.4)thinkingandreasoning_effortare sent as expecteddeepseek-v4-pro-202606anddeepseek-v4-flash-202605with a simple chat and streaming response**