autogen icon indicating copy to clipboard operation
autogen copied to clipboard

[Feature Request]: Change the tool_choice from auto

Open Andrej-Marsic opened this issue 1 year ago • 2 comments

Is your feature request related to a problem? Please describe.

It might be beneficial in some scenarios if agents don't have the choice of whether to use a tool, but make it mandatory to do so.

Describe the solution you'd like

Probably a parameter with the register_for_llm to offset the auto setting of tool_choice

Additional context

No response

Andrej-Marsic avatar Apr 20 '24 11:04 Andrej-Marsic

Yes, seconded, this is needed.

scruffynerf avatar Jun 19 '24 07:06 scruffynerf

FYI to everyone you can just pass "tool_choice": "required" to llm_params in the constructor.

andrzej-pomirski-yohana avatar Jul 25 '24 17:07 andrzej-pomirski-yohana