Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

agent.structuredOutput is breaking everything #10

Open
kais-radwan opened this issue Aug 12, 2024 · 1 comment
Open

agent.structuredOutput is breaking everything #10

kais-radwan opened this issue Aug 12, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@kais-radwan
Copy link
Member

using agent.structuredOutput is causing the LSP to stop working, also using in next.js apps is causing it to not build due to some issue.

I'm trying to figure out this issue for now, will share further updates here

@kais-radwan kais-radwan added the bug Something isn't working label Aug 12, 2024
@kais-radwan
Copy link
Member Author

For now you can use agent.generateObjectWithSchema and pass the expected output types as a generic

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant