Skip to content

Commit 1b8f039

Browse files
author
zhang_lu
authored
Merge pull request #178 from Silentharry94/feature/v0.2.2/aaas
opt conversation_info
2 parents 2a69ad5 + 256f39b commit 1b8f039

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

omagent-core/src/omagent_core/engine/automator/task_runner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ def __execute_task(self, task: Task) -> TaskResult:
148148
try:
149149
_input = workflow_client.get_workflow(task.workflow_instance_id).input
150150
if 'conversationInfo' in _input:
151-
task.conversation_info = _input
151+
task.conversation_info = _input.get('conversationInfo', {})
152152
logging.info(f'conversation_info: {task.conversation_info}')
153153

154154
conductor_log_handler = ConductorLogHandler(self.task_client)

0 commit comments

Comments
 (0)