feat (ui): introduce message parts for useChat #10628
Annotations
7 errors
Run tests
Type 'Message | { id: string; role: "assistant"; content: string; }' is not assignable to type 'Message'.
|
Run tests
Property 'parts' is missing in type '{ id: string; role: "assistant"; content: string; }' but required in type 'Message'.
|
Run tests
Type 'Message | { id: string; role: "data"; content: string; data: JSONValue; }' is not assignable to type 'Message'.
|
Run tests
Property 'parts' is missing in type '{ id: string; role: "data"; content: string; data: JSONValue; }' but required in type 'Message'.
|
Run tests
Argument of type '{ role: "user"; content: string; }' is not assignable to parameter of type 'Message | CreateMessage'.
|
Run tests
@ai-sdk/svelte#build: command (/home/runner/work/ai/ai/packages/svelte) /home/runner/setup-pnpm/node_modules/.bin/pnpm run build exited (1)
|
Run tests
Process completed with exit code 1.
|
Loading