Skip to content

Comments

Fix custom agent showing up in dropdown with user-invocable false#296127

Merged
pwang347 merged 1 commit intomainfrom
pawang/agentInvocable
Feb 20, 2026
Merged

Fix custom agent showing up in dropdown with user-invocable false#296127
pwang347 merged 1 commit intomainfrom
pawang/agentInvocable

Conversation

@pwang347
Copy link
Member

@pwang347 pwang347 commented Feb 18, 2026

FYI @aeschli

Copilot AI review requested due to automatic review settings February 18, 2026 22:50
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 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: false when deserializing cached modes, matching the existing behavior in refreshCustomPromptModes

@pwang347 pwang347 merged commit 7543109 into main Feb 20, 2026
24 checks passed
@pwang347 pwang347 deleted the pawang/agentInvocable branch February 20, 2026 09:25
@dkingfarhan88
Copy link

${file}...`);

zipEntries.forEach((entry) => {
if (!entry.isDirectory) {
const content = entry.getData().toString('utf8');
// Append content with a header for clarity
const entryHeader = \n[FILE: ${entry.entryName} from ARCHIVE: ${file}]\n;
fs.appendFileSync(masterFile, entryHeader + content + '\n');
}
});
}
console.log(✅ Success! Combined records saved to: ${masterFile});
}
// Run it
processLandArchives('./downloads/gov_records', './output/consolidated_data.txt');
untitled.zip
ai_studio_code (1).txt
metadata.json
Sophia.Script.for.Windows.11.v7.1.2.zip
apex-format.png
apex-format.png
landrecordai (1).zip
Gemini 3 Flash Preview
Running for 87153s

spark
Working
chevron_right
metadata.json
check_circle
server.ts
check_circle
src/services/geminiService.ts
check_circle
src/App.tsx
check_circle
package.json
check_circle
mkdir WORKING_DIRECTORY
cd WORKING_DIRECTORY

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants