Skip to content

feat (ui): introduce message parts for useChat #10627

feat (ui): introduce message parts for useChat

feat (ui): introduce message parts for useChat #10627

Triggered via pull request February 3, 2025 14:02
@lgrammellgrammel
synchronize #4670
lg/Pcy8Aanj
Status Failure
Total duration 1m 49s
Artifacts

ci.yml

on: pull_request
Matrix: Test
Fit to window
Zoom out
Zoom in

Annotations

17 errors
Test (22.x)
Type 'Message | { id: string; role: "assistant"; content: string; }' is not assignable to type 'Message'.
Test (22.x)
Property 'parts' is missing in type '{ id: string; role: "assistant"; content: string; }' but required in type 'Message'.
Test (22.x)
Type 'Message | { id: string; role: "data"; content: string; data: JSONValue; }' is not assignable to type 'Message'.
Test (22.x)
Property 'parts' is missing in type '{ id: string; role: "data"; content: string; data: JSONValue; }' but required in type 'Message'.
Test (22.x)
Argument of type '{ role: "user"; content: string; }' is not assignable to parameter of type 'Message | CreateMessage'.
Test (22.x)
@ai-sdk/svelte#build: command (/home/runner/work/ai/ai/packages/svelte) /home/runner/setup-pnpm/node_modules/.bin/pnpm run build exited (1)
Test (22.x)
Process completed with exit code 1.
Test (18.x)
The job was canceled because "_22_x" failed.
Test (18.x)
Type 'Message | { id: string; role: "assistant"; content: string; }' is not assignable to type 'Message'.
Test (18.x)
Property 'parts' is missing in type '{ id: string; role: "assistant"; content: string; }' but required in type 'Message'.
Test (18.x)
Type 'Message | { id: string; role: "data"; content: string; data: JSONValue; }' is not assignable to type 'Message'.
Test (18.x)
Property 'parts' is missing in type '{ id: string; role: "data"; content: string; data: JSONValue; }' but required in type 'Message'.
Test (18.x)
Argument of type '{ role: "user"; content: string; }' is not assignable to parameter of type 'Message | CreateMessage'.
Test (18.x)
@ai-sdk/svelte#build: command (/home/runner/work/ai/ai/packages/svelte) /home/runner/setup-pnpm/node_modules/.bin/pnpm run build exited (1)
Test (18.x)
The operation was canceled.
Test (20.x)
The job was canceled because "_22_x" failed.
Test (20.x)
The operation was canceled.