Langroid

Latest version: v0.45.7

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

Scan your dependencies

Page 28 of 69

0.2.7

Allow `OpenAIGPTConfig(cache_config=None)` to completely turn off all cacheing of LLM responses.
Note that `langroid.utils.configuration.settings.cache=False` only turns of cache *retrieval* but not cache *storage*.

0.2.6

Task: Agent Addressing (e.g. "`Alice`", "`user`", etc) is disabled by default.
Controllable via `TaskConfig.addressing_prefix` (default is empty string, meaning no addressing prefix).
See details in the `TaskConfig` API docs at https://langroid.github.io/langroid/reference/agent/task/.
Such addressing is discouraged since normal prompts (text, code) may accidentally contain such addressing.
Using `RecipientTool` is a much better alternative, and has other advantages, e.g.
the ability to detect the tool is not used correctly and send nudges to the LLM etc.

0.2.5

Remove python version upper bound constraint < 3.12; instead set it to ^3.10, so it doesn't break builds with Python 3.12

0.2.4

* Task: fix user addressing
* Task: more frequent "alternating no-answer" loop detection

0.2.3

Task: detect alternating NO_ANSWER loops (i.e. DO-NOT-KNOW alternating with variable other msgs) when `allow_null_result` is set to `True`
(default is `False` and `True` is not normally used)

0.2.2

* New `TaskConfig` param: `logs_dir` to control where your task/multi-agent logs go (default is `logs`)
* Improvements in `Task` result, `step` result logic (to be detailed later).

Page 28 of 69

Links

Releases

Has known vulnerabilities

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.