SubagentsTest: the agent chat's facts now say the cap (contract at 4b28b36)
CI / check (push) Canceled after 0s
CI / check (push) Canceled after 0s
CI run 30 failed here: chat_agent.json carries cap 32 since the server worked the agent chat's facts out (94e5243). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 file changed
+2
-1
@@ -43,7 +43,8 @@ class SubagentsTest {
|
||||
val chat = read("chat", Chat.serializer())
|
||||
assertEquals(SubagentsOffer(offered = true, namedOnly = false, cap = 32), chat.subagents)
|
||||
val agentChat = read("chat_agent", Chat.serializer())
|
||||
assertEquals(SubagentsOffer(offered = false), agentChat.subagents)
|
||||
// An agent chat is never offered subagents by the server (they run on its device); the cap is said.
|
||||
assertEquals(SubagentsOffer(offered = false, cap = 32), agentChat.subagents)
|
||||
|
||||
val activity = read("activity", ActivityEnvelope.serializer()).activity
|
||||
assertEquals(true, activity.subagentsOffered)
|
||||
|
||||
Reference in new issue
Block a user