fix(chat): harden experts menu selection and viewport fit

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
xintaofei
2026-04-10 16:56:37 +08:00
parent b63fe3f800
commit 0b6a013fd9
2 changed files with 43 additions and 26 deletions

View File

@@ -73,12 +73,3 @@ export function useBuiltInExperts(): ExpertListItem[] {
return experts
}
/**
* Invalidate the cached experts list. Call this after installing/uninstalling
* experts so subsequent consumers see the fresh list.
*/
export function invalidateBuiltInExperts(): void {
cachedExperts = null
inflight = null
}