Langroid

Latest version: v0.42.3

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

Scan your dependencies

Page 11 of 66

0.28.0

feat: `ToolMessage` can have a `_handler` attribute to specify a handler name different from `request` value

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

Thanks to alexagr !

0.27.4

build: pin to pydantic < 2.10.2 since 2.10.2 breaks chainlit

See https://github.com/Chainlit/chainlit/issues/1544

0.27.3

fix: bool parsing in tools; async quiet mode streaming

- fix parsing of bool args in generated tools (since bools are lower-case in JSON, see PR 635, 637)
- fix the default value of `callbacks.start_llm_stream_async`, which was not returning a function as it should, see PR 634 636

Thanks johannestang !

0.27.2

fix: gemini base URL update to use OpenAI client

Base URL is now:

`GEMINI_BASE_URL = "https://generativelanguage.googleapis.com/v1beta/openai"`

Also fixes built-in model names in `GeminiModel` to use "gemini/" prefix
so that OpenAI client is used for these models.

Thanks adam-shams for pointing this out.

0.27.1

fixes/improvements:

- preserve task loggers if set by user (PR 623)
- allow agent callbacks in quiet mode (PR 624)
- remove duplicate embedding model init in vector-store c'tors (PR 628)
- Azure OpenAI - add missing model names, update versions (PR 632)

Thanks alexagr !

0.27.0

feat: support openrouter API

OpenRouter lets you remotely use practically any LLM via their OpenAI-Compatible API, for a fee:
https://openrouter.ai/

Page 11 of 66

Links

Releases

Has known vulnerabilities

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.