Open B-Step62 opened 2 weeks ago
When an empty tools is passed to bind_tools, ChatDatabricks does not complain about it and the agent just runs fine, but in unexpected way (no tool usage). We can catch it earlier in the class and fail first, similar to what ChatOpenAI does.
bind_tools
ChatDatabricks
When an empty tools is passed to
bind_tools
,ChatDatabricks
does not complain about it and the agent just runs fine, but in unexpected way (no tool usage). We can catch it earlier in the class and fail first, similar to what ChatOpenAI does.