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
2024-06-14 17:59:29 +00:00
..
cli cli[patch]: Release 0.0.25 (#22876) 2024-06-14 02:31:04 +00:00
community community[minor]: Fix long_context_reorder.py async (#22839) 2024-06-14 13:55:18 -04:00
core core[patch]: Fix FunctionCallbackHandler._on_tool_end (#22908) 2024-06-14 17:59:29 +00:00
experimental community[major], experimental[patch]: Remove Python REPL from community (#22904) 2024-06-14 17:53:29 +00:00
langchain community[major], experimental[patch]: Remove Python REPL from community (#22904) 2024-06-14 17:53:29 +00:00
partners anthropic[minor]: Adds streaming tool call support for Anthropic (#22687) 2024-06-14 09:14:43 -07:00
standard-tests multiple: add stop attribute (#22573) 2024-06-06 12:11:52 -04:00
text-splitters Community[minor]: Add language parser for Elixir (#22742) 2024-06-10 15:56:57 +00:00