deerflow2/tests/unit
Willem Jiang 546e2e6234
Fixes(unit-test): the unit tests error of recent change of #816 (#826)
* feat: Implement DeerFlow API server with chat streaming, Langgraph orchestration, and various content generation capabilities.

* Apply suggestions from code review

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

* - Use MongoDB `$push` with `$each` to append new messages to existing threads
- Use PostgreSQL jsonb concatenation operator to merge messages instead of overwriting
- Update comments to reflect append behavior in both database implementations

* fix: updated the unit tests with the recent changes

---------

Co-authored-by: Bink <992359580@qq.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: YikB <54528024+Bin1783@users.noreply.github.com>
2026-01-22 09:17:14 +08:00
..
agents fix: migrate from deprecated create_react_agent to langchain.agents.create_agent (#802) 2026-01-07 09:06:16 +08:00
checkpoint Fixes(unit-test): the unit tests error of recent change of #816 (#826) 2026-01-22 09:17:14 +08:00
config fix: handle false values correctly in (#823) 2026-01-21 09:33:20 +08:00
crawler feat: support infoquest (#708) 2025-12-02 08:16:35 +08:00
eval feat(eval): add report quality evaluation module and UI integration (#776) 2025-12-25 21:55:48 +08:00
graph fix: migrate from deprecated create_react_agent to langchain.agents.create_agent (#802) 2026-01-07 09:06:16 +08:00
llms fix(llm): filter unexpected config keys to prevent LangChain warnings (#411) (#726) 2025-11-29 16:13:05 +08:00
podcast fix(podcast): add fallback for models without json_object support (#747) (#785) 2025-12-26 23:04:20 +08:00
prompt_enhancer Upgrade langchain version to 1.x (#720) 2025-11-28 22:09:13 +08:00
rag refactor: Refactors the retriever function to use async/await (#821) 2026-01-20 19:56:26 +08:00
server fix(config): Add support for MCP server configuration parameters (#812) 2026-01-10 15:59:49 +08:00
tools refactor: Refactors the retriever function to use async/await (#821) 2026-01-20 19:56:26 +08:00
utils fix: Add runtime parameter to compress_messages method(#803) 2026-01-07 20:36:15 +08:00