core, community: deprecate tool.__call__ (#20900)

Does not update docs.
This commit is contained in:
ccurme
2024-04-25 14:50:39 -04:00
committed by GitHub
parent 52896258ee
commit b8db73233c
13 changed files with 20 additions and 16 deletions

View File

@@ -147,7 +147,7 @@ def test_load_pupmed_from_universal_entry() -> None:
"Examining the Validity of ChatGPT in Identifying "
"Relevant Nephrology Literature"
)
output = pubmed_tool(search_string)
output = pubmed_tool.invoke(search_string)
test_string = (
"Examining the Validity of ChatGPT in Identifying "
"Relevant Nephrology Literature: Findings and Implications"