langflow/src/backend
Edwin Jose 2fa6d868a1
fix: Streaming for anthropic models in Agents (#7871)
* fix streaming for anthropic models and optimise the _extract_output_text

* Update src/backend/base/langflow/base/agents/events.py

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* fix: improve handling of AIMessageChunk state and output text extraction

* fix: change ValueError to TypeError in output text extraction

* fix: ensure output text is appended only if it is valid and agent message text is a string

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
2025-05-02 14:49:44 +00:00
..
base fix: Streaming for anthropic models in Agents (#7871) 2025-05-02 14:49:44 +00:00
langflow/version ref: Some ruff fixes from preview (#5420) 2024-12-28 21:25:35 +00:00
tests ffix: Update Gmail test to assert direct result_field return instead of full data dictionary (nightly fix) (#7866) 2025-04-30 16:03:25 -03:00
.gitignore Changes default location for the database and adds the option to use the previous behavior (#1907) 2024-05-15 20:41:01 -03:00
Dockerfile fix: Add libpq-dev and gcc dependencies to backend Dockerfile (#7136) 2025-03-18 18:50:59 +00:00