Skip to content

How unittest a tool in the latest versions? #28455

Answered by feijoes
marcoaleixo asked this question in Q&A
Discussion options

You must be logged in to vote

@marcoaleixo You need to pass the config as a second parameter in the invocation:

search_knowledge_base_tool.invoke(input_data, config)

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@marcoaleixo
Comment options

@marcoaleixo
Comment options

@marcoaleixo
Comment options

Answer selected by marcoaleixo
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