Skip to content

[BUG] Step by Step vs run in tool use. #1170

@vitalyshalumov

Description

@vitalyshalumov

When using Step by Step run (similar to "Run agents one step at a time" form documentation) in combination with a custom tool "operator_tool", an authorization error is raised:
response = operator_tool("Hi") due to: InterpreterError: Forbidden function evaluation: 'operator_tool' is not among the explicitly allowed tools or defined/imported in the preceding code

Adding it to additional_authorized_imports did not help.
When running using .run() everything works well.

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions