deerflow2/tests
Willem Jiang a376b0cb4e
fix: Add runtime parameter to compress_messages method(#803)
* fix: Add runtime parameter to compress_messages method(#803)

    The compress_messages method was being called by PreModelHookMiddleware
    with both state and runtime parameters, but only accepted state parameter.
    This caused a TypeError when the middleware executed the pre_model_hook.

    Added optional runtime parameter to compress_messages signature to match
    the expected interface while maintaining backward compatibility.

* Update the code with the review comments
2026-01-07 20:36:15 +08:00
..
integration fix: migrate from deprecated create_react_agent to langchain.agents.create_agent (#802) 2026-01-07 09:06:16 +08:00
unit fix: Add runtime parameter to compress_messages method(#803) 2026-01-07 20:36:15 +08:00
test_ppt_localization.py Add unit tests for PPT composer locale handling (#696) 2025-11-22 17:03:06 +08:00
test_state.py feat: 1. replace black with ruff for fomatting and sort import (#489) 2025-08-17 22:57:23 +08:00