mirror of
https://github.com/langgenius/dify.git
synced 2026-10-04 13:47:55 +08:00
fix(agent): preserve plugin-declared model parameters through Agent Soul (#40163)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
This commit is contained in:
1 parent
e09eee8fd1
commit
7522ae14b2
11 files changed
+95
-4
No files matched your search
@@ -14933,6 +14933,13 @@ Reference to model credentials resolved only at runtime.
|
||||
|
||||
#### AgentSoulModelSettings
|
||||
|
||||
Model parameters for the Agent Soul model.
|
||||
|
||||
Model plugins can declare arbitrary parameters via ``parameter_rules``
|
||||
(e.g. Qwen/Tongyi's ``enable_thinking``) beyond the common OpenAI-style
|
||||
fields typed below, so extra keys must round-trip through persistence
|
||||
rather than being dropped.
|
||||
|
||||
| Name | Type | Description | Required |
|
||||
| ---- | ---- | ----------- | -------- |
|
||||
| frequency_penalty | number | | No |
|
||||
|
||||
Reference in new issue
Block a user