Skip to content

Expose max_retries to tool's run context #2927

@yf-yang

Description

@yf-yang

Description

Can we also adds each tool's max retries limit to the run context? Therefore when raising ModelRetry we can instruct the model to avoid using the tool again softly instead of a hard stop (raise an error and interrupt the whole loop)

References

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions