-
-
Notifications
You must be signed in to change notification settings - Fork 74
Open
Description
TanStack AI version
v0.0.2
Framework/Library version
Vanilla
Describe the bug and the steps to reproduce it
Due to a bug in @tanstack/vite-config, a type error has gone undetected.
The current index.ts file exports from './stream'. This export does not exist, and should map to ./stream/index.ts. For some reason, this is instead generating the following:
This can be fixed by instead exporting from './stream/index':
However, it now exposes a type error in @tanstack/ai-client, specifically chat-client.ts:
I'd appreciate if someone could have a look at this. Minimal repo is this branch: https://github.com/TanStack/ai/tree/broken-types
Your Minimal, Reproducible Example - (Sandbox Highly Recommended)
https://github.com/TanStack/ai/tree/broken-types
Screenshots or Videos (Optional)
No response
Do you intend to try to help solve this bug with your own PR?
None
Terms & Code of Conduct
- I agree to follow this project's Code of Conduct
- I understand that if my bug cannot be reliable reproduced in a debuggable environment, it will probably not be fixed and this issue may even be closed.
Metadata
Metadata
Assignees
Labels
No labels