langchain-ai / langchain-google

MIT License
117 stars 147 forks source link

genai: Removed forgotten "print" statement in _function_utils.py #575

Closed RomanMazyrin closed 3 weeks ago

RomanMazyrin commented 3 weeks ago

While doing simple llm.invoke(...) call, with model that has binded tools via .bind_tools then it starts to print all tools info while invoking. The problem is in _function_utils.py file in _format_dict_to_function_declaration, which has forgotten (i believe) print statement which fires everytime on the function start.