fix: preserve exploration demonstration source and recording scope
This commit is contained in:
1 parent
f4cb55c030
commit
973ccae679
22 files changed
+624
-55
No files matched your search
@@ -985,10 +985,12 @@ async def run_final_check(
|
||||
HumanMessage(content=content),
|
||||
]
|
||||
if getattr(ctx, "exploration_id", None):
|
||||
from artemis.exploration.demonstrations import DEMONSTRATION_SOURCE_RULE
|
||||
from artemis.exploration.runtime import conversation_message, history_tool
|
||||
|
||||
# Questions, answers and demonstrations are separate from device steps.
|
||||
# The verifier needs their actual order and the user's revised criteria.
|
||||
messages.append(SystemMessage(content=DEMONSTRATION_SOURCE_RULE))
|
||||
messages.append(conversation_message(ctx))
|
||||
tools.append(history_tool(ctx))
|
||||
with CheckerStreamCapture(ctx) as capture:
|
||||
|
||||
Reference in new issue
Block a user