Skip to content

Forward memoryExtraParams in external AI cleanup requests #287

Description

@amandeavor

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions