Skip to content

Dodaios is an open-source agent OS for your desktop: it runs your coding agents, browser and apps by voice or chat, on your own machine. Formerly Personal Jarvis.

test(ui): pin the required attachments field on a chat user item

rubenluetke10-beep15d35e84a70d
diff --git a/jarvis/ui/web/frontend/src/components/local-models/AssistantPanel.test.tsx b/jarvis/ui/web/frontend/src/components/local-models/AssistantPanel.test.tsx
index 85677b96ea..f0c8e80efc 100644
--- a/jarvis/ui/web/frontend/src/components/local-models/AssistantPanel.test.tsx
+++ b/jarvis/ui/web/frontend/src/components/local-models/AssistantPanel.test.tsx
@@ -74,7 +74,9 @@ function finishedTurnWithProposal() {
...EMPTY_TIMELINE,
lastSeq: 3,
items: [
- { type: "user" as const, id: "u-1", text: "Help me set up", tsMs: 1 },
+ // `attachments` is required on a user item: the chat column draws
+ // dropped files from it. The assistant never sends any.
+ { type: "user" as const, id: "u-1", text: "Help me set up", tsMs: 1, attachments: [] },
{
type: "turn" as const,
id: "t1",