-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
core[minor]: Add status field to tool #6268
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@@ -212,7 +212,8 @@ export abstract class StructuredTool< | |||
let result; | |||
try { | |||
result = await this._call(parsed, runManager, config); | |||
} catch (e) { | |||
// eslint-disable-next-line @typescript-eslint/no-explicit-any |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes here seem fine but unrelated?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
forgot to remove when I deleted the error handling code from this PR.
Looks good! Only thing I'll flag is that streamed chunks will always have |
Going to push a refactor to leave undefined when concatenating unless it's passed. |
Added new
status
field to tools.TODO in separate PR:
status
field.ToolNode
to usestatus
field.