feat: creating mogodb and postgres mock instance in checkpoint test (#561)

* fix: using mongomock for the checkpoint test

* Add postgres mock setting to the unit test

* Added utils file of postgres_mock_utils

* fixed the runtime loading error of deerflow server
This commit is contained in:
Willem Jiang
2025-09-09 22:49:11 +08:00
committed by GitHub
parent 7138ba36bc
commit 4c17d88029
6 changed files with 463 additions and 151 deletions

View File

@@ -368,5 +368,4 @@ def chat_stream_message(thread_id: str, message: str, finish_reason: str) -> boo
thread_id, message, finish_reason
)
else:
logging.warning("Checkpoint saver is disabled, message not processed")
return False