fix(skill-review): use runtime.context to get thread_id
This commit is contained in:
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
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user