- Notifications
You must be signed in to change notification settings - Fork 3.5k
Description
Description
When using a monorepo, running the command npx @ai-sdk/devtools in an app that doesn't have devtools installed breaks. I get the error sh: devtools: command not found.
Devtools are used in the ai package where I export a list of agents and models and those models have middleware in them. In the www app, i'm calling those agents that we are importing from that ai package.
- if I run the command at the root, i get empty runs
- if i run the command in
apps/wwwand i don't havedevtoolspackage installed there, i get a CLI error. - if i run the command in
apps/wwwand i do havedevtoolspackage installed there, i get proper devtools
AI SDK Version
- "@ai-sdk/devtools": "0.0.1-beta.1"
- "ai": "6.0.0-beta.148",
Code of Conduct
- I agree to follow this project's Code of Conduct