Skip to content

Commit 256f39b

Browse files
author
韩宇
committed
opt conversation_info
1 parent ad24f5f commit 256f39b

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
@@ -146,7 +146,7 @@ def __execute_task(self, task: Task) -> TaskResult:
146146
try:
147147
_input = workflow_client.get_workflow(task.workflow_instance_id).input
148148
if 'conversationInfo' in _input:
149-
task.conversation_info = _input
149+
task.conversation_info = _input.get('conversationInfo', {})
150150
logging.info(f'conversation_info: {task.conversation_info}')
151151

152152
conductor_log_handler = ConductorLogHandler(self.task_client)

0 commit comments

Comments
 (0)