mirror of
https://github.com/bytedance/deer-flow.git
synced 2026-05-22 16:06:50 +00:00
style: apply ruff format to persistence and runtime files
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -41,7 +41,10 @@ class TestFeedbackRepository:
|
||||
async def test_create_negative_with_comment(self, tmp_path):
|
||||
repo = await _make_feedback_repo(tmp_path)
|
||||
record = await repo.create(
|
||||
run_id="r1", thread_id="t1", rating=-1, comment="Response was inaccurate",
|
||||
run_id="r1",
|
||||
thread_id="t1",
|
||||
rating=-1,
|
||||
comment="Response was inaccurate",
|
||||
)
|
||||
assert record["rating"] == -1
|
||||
assert record["comment"] == "Response was inaccurate"
|
||||
|
||||
@@ -947,8 +947,10 @@ class TestFullRunSequence:
|
||||
# 1. Human message (written by worker, using model_dump format)
|
||||
human_msg = HumanMessage(content="Search for quantum computing")
|
||||
await store.put(
|
||||
thread_id="t1", run_id="r1",
|
||||
event_type="human_message", category="message",
|
||||
thread_id="t1",
|
||||
run_id="r1",
|
||||
event_type="human_message",
|
||||
category="message",
|
||||
content=human_msg.model_dump(),
|
||||
)
|
||||
j.set_first_human_message("Search for quantum computing")
|
||||
|
||||
Reference in New Issue
Block a user