core: hide internal agents from desktop agent selector

This commit is contained in:
Dax Raad
2025-12-12 18:02:18 -05:00
parent 9a769bfd8c
commit cd3085802f
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -1295,12 +1295,12 @@ export namespace SessionPrompt {
input.history.filter((m) => m.info.role === "user" && !m.parts.every((p) => "synthetic" in p && p.synthetic))
.length === 1
if (!isFirst) return
const agent = await Agent.get("summary")
const agent = await Agent.get("title")
if (!agent) return
const result = await LLM.stream({
agent,
user: input.message.info as MessageV2.User,
system: [agent.prompt!],
system: [],
small: true,
tools: {},
model: await iife(async () => {