Split from #284 so provider request behavior can be fixed independently.
The external API path in src/services/user-profile/ai-cleanup.ts builds its request body directly and does not include configured memoryExtraParams. Provider-specific parameters such as enable_thinking: false therefore work in other model calls but are omitted during cleanup.
Acceptance criteria:
- forward configured extra parameters through the cleanup request path
- preserve required cleanup fields and prevent unsafe overrides
- add request-body coverage
See #284 for the SiliconFlow/Qwen reproduction.
Split from #284 so provider request behavior can be fixed independently.
The external API path in
src/services/user-profile/ai-cleanup.tsbuilds its request body directly and does not include configuredmemoryExtraParams. Provider-specific parameters such asenable_thinking: falsetherefore work in other model calls but are omitted during cleanup.Acceptance criteria:
See #284 for the SiliconFlow/Qwen reproduction.