fix(conductor): Apply review suggestions for track 'live_ux_test_20260223'
This commit is contained in:
@@ -31,11 +31,14 @@ class UserSimAgent:
|
||||
break
|
||||
|
||||
# We need to set a custom system prompt for the User Simulator
|
||||
ai_client.set_custom_system_prompt(self.system_prompt)
|
||||
|
||||
# We'll use a blank md_content for now as the 'User' doesn't need to read its own files
|
||||
# via the same mechanism, but we could provide it if needed.
|
||||
response = ai_client.send(md_content="", user_message=last_ai_msg)
|
||||
try:
|
||||
ai_client.set_custom_system_prompt(self.system_prompt)
|
||||
# We'll use a blank md_content for now as the 'User' doesn't need to read its own files
|
||||
# via the same mechanism, but we could provide it if needed.
|
||||
response = ai_client.send(md_content="", user_message=last_ai_msg)
|
||||
finally:
|
||||
ai_client.set_custom_system_prompt("")
|
||||
|
||||
return response
|
||||
|
||||
def perform_action_with_delay(self, action_func, *args, **kwargs):
|
||||
|
||||
Reference in New Issue
Block a user