You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: apps/sim/app/workspace/[workspaceId]/home/components/message-content/components/agent-group/agent-group.tsx
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -181,32 +181,32 @@ export function AgentGroup({
Copy file name to clipboardExpand all lines: apps/sim/app/workspace/[workspaceId]/home/components/message-content/components/agent-group/tool-call-item.tsx
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -236,19 +236,19 @@ export function ToolCallItem({
Copy file name to clipboardExpand all lines: apps/sim/app/workspace/[workspaceId]/home/components/message-content/components/special-tags/special-tags.test.ts
// Observed in the wild: no <options> wrapper, and the LAST entry lost its
1224
+
// braces so its title sits on the numeric key with the description hoisted.
1225
+
constflattened=
1226
+
'options {"1": {"title": "Test files and a second turn in the same DM thread", "description": "watermark + file-delta live check"}, "2": {"title": "Put /chat/the-elder on Brain with a password", "description": "finish chat cutover"}, "3": "Add thinking-status keepalive for long Brain runs", "description": "refresh shimmer past 2 minutes"}'
1227
+
1228
+
it('renders it as an options card instead of raw JSON',()=>{
describe('bare options with a capitalized label',()=>{
1275
+
// Well-formed payload, but no wrapper and a "Options:" label instead of the
1276
+
// lowercase bare word — the second shape seen in the wild.
1277
+
constlabeled=
1278
+
'Options: {"1": {"title": "Live-test ASK top-level, ASK thread, and a mention in another channel", "description": "confirm the new accept rule in Slack"}, "2": {"title": "Test files and a second turn in the same DM thread", "description": "watermark + file-delta live check"}}'
describe('bare options JSON with no label at all',()=>{
1302
+
constnaked=
1303
+
'{"1": {"title": "Live-test ASK top-level, ASK thread, and a mention in another channel", "description": "confirm the new accept rule in Slack"}, "2": {"title": "Test files and a second turn in the same DM thread", "description": "watermark + file-delta live check"}}'
1304
+
1305
+
it('renders the payload alone as an options card',()=>{
0 commit comments