Skip to content

prompts service: fix clearing the cachedFileLocations after a contribution change#278296

Merged
aeschli merged 1 commit intomainfrom
aeschli/mid-tarsier
Nov 19, 2025
Merged

prompts service: fix clearing the cachedFileLocations after a contribution change#278296
aeschli merged 1 commit intomainfrom
aeschli/mid-tarsier

Conversation

@aeschli
Copy link
Contributor

@aeschli aeschli commented Nov 19, 2025

No description provided.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR fixes a bug in the prompts service where the cache was being cleared incorrectly after a contribution change. The hardcoded reference to PromptsType.agent was replaced with the dynamic type parameter to ensure the correct cache is cleared.

  • Fixed incorrect cache clearing logic in registerContributedFile method

@aeschli aeschli merged commit f62fcfd into main Nov 19, 2025
33 of 34 checks passed
@aeschli aeschli deleted the aeschli/mid-tarsier branch November 19, 2025 09:31
@vs-code-engineering vs-code-engineering bot locked and limited conversation to collaborators Jan 3, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants