Skip to content

Latest commit

History

History
5 lines (4 loc) 路 421 Bytes

File metadata and controls

5 lines (4 loc) 路 421 Bytes
@tanstack/ai-vue patch

Fix useChat in Vue: messages, partial, and final now use Readonly<ShallowRef<X>> instead of DeepReadonly<ShallowRef<X>>. The deep-readonly wrapper was contradictory over a shallow ref and silently collapsed the MessagePart discriminated union, breaking parts.find(p => p.type === 'structured-output')?.data narrowing in consumer code. The runtime behavior is unchanged.