-
Notifications
You must be signed in to change notification settings - Fork 235
Open
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomerspackage:agents-core
Description
Please read this first
- Have you read the docs? Agents SDK docs
- Have you searched for related issues? Others may have had similar requests
Describe the feature
Here this line
throw new ModelBehaviorError('Invalid output type'); |
It simply throws an empty error without any additional information, such as what is the potential output and what is the parsing error. The trace that this run generates also doesn't really contain much information, just ZodError
.
It would be really helpful if any error after receiving a potential output can have all the states so far tracked not only in the error thrown but also the trace and span stats.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomerspackage:agents-core