Skip to content

Provider SDK packages accumulate in cache when switching #10276

@jerome-benoit

Description

@jerome-benoit

Problem

When a provider changes its SDK package (e.g., switching from @anthropic-ai/sdk to a different package), the old package remains in the cache indefinitely.

Expected behavior

Old packages should be automatically removed when a provider switches to a different SDK.

Proposed solution

Track provider → package mapping in package.json and remove old package on switch.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions