Skip to content

llm.bind_tools and tool is BaseTool . Erro Object of type 'ModelMetaclass' is not JSON serializable #25698

Answered by hwchase17
zh19990906 asked this question in Q&A
Discussion options

You must be logged in to vote

you should be passing in the tools initialized, eg: tools = [CustomCalculatorTool(), TodayTool()]

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
4 replies
@zh19990906
Comment options

@dosubot
Comment options

@zh19990906
Comment options

@zh19990906
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by hwchase17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants