Fix custom agent showing up in dropdown with user-invocable false#296127
Fix custom agent showing up in dropdown with user-invocable false#296127
Conversation
There was a problem hiding this comment.
Pull request overview
This pull request fixes a bug where custom agents with userInvocable: false were incorrectly appearing in the dropdown/mode picker after being loaded from cached storage. The fix ensures that cached mode deserialization applies the same visibility filtering as the fresh mode loading path.
Changes:
- Added filtering to skip custom agents with
userInvocable: falsewhen deserializing cached modes, matching the existing behavior inrefreshCustomPromptModes
|
${file}...`); zipEntries.forEach((entry) => { spark |
FYI @aeschli