nick-rackauckas
nick-rackauckas
Ever since upgrading to version 0.1.12, seeing this error when trying to run `ruff check`. Works when downgrading to `0.1.11`. ```` ruff failed Cause: Failed to create cache file '/.ruff_cache/0.1.12/16676361985305082552'...
### Description ## Background Currently, the AI SDK v5 exports Zod schemas for core/model message types (`userModelMessageSchema`, `assistantModelMessageSchema`, etc.) but does not provide equivalent validation schemas for UI message types....
### Problem When an error occurs during message streaming in `useChat` in v5, the partial message being streamed (including any associated `messageMetadata`) is discarded and not persisted to the `messages`...