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:
chelsealongandautofix-ci[bot] authored and GitHub committed 2026-08-09 08:48:01 +00:00
1 parent e09eee8fd1
commit 7522ae14b2
11 files changed
+95 -4

No files matched your search

+7
View File
@@ -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 |