Langroid

Latest version: v0.42.3

Safety actively analyzes 706259 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 14 of 66

0.22.5

fix: Agent `user_response` should default to "null" when user explicitly addressed, and user doesn't enter response

This helps prevent an edge case in SQLChatAgent and other similar agents, where `chat_mode=True` and the task is setup with `interactive=False`

Also:

- auto-download `punkt_tab` resource from `nltk` when importing `langroid.parsing.utils`

0.22.4

fix: use `SqlChatAgentConfig.chat_mode` to improve behavior in interative and non-interactive mode

0.22.3

feat(minor): add convenience method `ChatAgent.truncate_method`

0.22.2

fix: ignore malformed tool err in task.py (those are handled within agent)

0.22.1

feat(minor): Add convenience method `name()` to `ToolMessage`.

For a tool message `MyToolMessage`, we can get the value of the `request` field as `MyToolMessage.name()`,
instead of the more verbose `MyToolMessage.default_value("request")`

0.22.0

feat: params in `ToolMessage` to truncate large tool results

See [docs](https://langroid.github.io/langroid/notes/large-tool-results/)

Page 14 of 66

Links

Releases

Has known vulnerabilities

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.