Langroid

Latest version: v0.23.3

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

Scan your dependencies

Page 4 of 54

0.19.2

fix: XMLToolMessage - parsing errors now return msg to LLM instead of crashing

0.19.1

fix: Improve XMLToolMessage formatting instructions sent to LLM

0.19.0

feat: add async streaming callbacks in addition to existing sync streaming callbacks

Mainly used with Chainlit currently. See:

- Relevant Pull Req 578
- [Chainlit callbacks](https://github.com/langroid/langroid/blob/main/langroid/agent/callbacks/chainlit.py)
- [Callbacks in `Agent`](https://github.com/langroid/langroid/blob/main/langroid/agent/base.py)
- [Callbacks in `LanguageModels`](https://github.com/langroid/langroid/blob/main/langroid/language_models/base.py)

0.18.3

fix: XMLToolMessage now handles complex fields like list, dict or nested Pydantic objects.

0.18.2

small fixes

- create_file() - allow append/overwrite/skip/error options
- `ChatAgentConfig.allow_multiple_tools` flag to control whether LLM can generate multiple tools at once (default True)

0.18.1

fixes:

- DocChatAgent improve check for collection missing in vecdb
- in ChainlitAgentCallback, set `llm.config.async_stream_quiet = False` to allow streaming output in chainlit

Page 4 of 54

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.