fix(skill-review): use runtime.context to get thread_id

This commit is contained in:
xuhd committed 2026-06-05 13:32:19 +08:00
1 parent 23a18ec318
commit 2a8364e902
2 files changed
+2 -6

No files matched your search

@@ -14,7 +14,7 @@ def _make_state(messages):
def _make_runtime(thread_id="thread-abc"):
runtime = MagicMock()
runtime.config = {"configurable": {"thread_id": thread_id}}
runtime.context = {"thread_id": thread_id} if thread_id else {}
return runtime