Skip to content

best practice that allows an agent to output a natural dialogue text and then make tool calls? #2411

@tianshangwuyun

Description

@tianshangwuyun

Question

Is there any best practice that allows an agent to output a natural dialogue text and then make tool calls, such as outputting "Okay, I will perform the corresponding data analysis", and then further calling the analysis tool for analysis, and finally outputting the results,
Nowadays, after outputting str, the agent defaults to stopping

Additional Context

No response

Metadata

Metadata

Assignees

Labels

documentationImprovements or additions to documentation

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions