You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
langchain/libs
kiarina 8171efd07a
core[patch]: Fix FunctionCallbackHandler._on_tool_end (#22908)
If the global `debug` flag is enabled, the agent will get the following
error in `FunctionCallbackHandler._on_tool_end` at runtime.

```
Error in ConsoleCallbackHandler.on_tool_end callback: AttributeError("'list' object has no attribute 'strip'")
```

By calling str() before strip(), the error was avoided.
This error can be seen at
[debugging.ipynb](https://github.com/langchain-ai/langchain/blob/master/docs/docs/how_to/debugging.ipynb).

- Issue: NA
- Dependencies: NA
- Twitter handle: https://x.com/kiarina37
3 months ago
..
cli cli[patch]: Release 0.0.25 (#22876) 3 months ago
community community[minor]: Fix long_context_reorder.py async (#22839) 3 months ago
core core[patch]: Fix FunctionCallbackHandler._on_tool_end (#22908) 3 months ago
experimental community[major], experimental[patch]: Remove Python REPL from community (#22904) 3 months ago
langchain community[major], experimental[patch]: Remove Python REPL from community (#22904) 3 months ago
partners anthropic[minor]: Adds streaming tool call support for Anthropic (#22687) 3 months ago
standard-tests multiple: add `stop` attribute (#22573) 4 months ago
text-splitters Community[minor]: Add language parser for Elixir (#22742) 3 months ago