|
@@ -86,7 +86,8 @@ class TaskManager:
|
|
|
response_data = [
|
|
|
{
|
|
|
"id": agent_test_task_conversation.id,
|
|
|
- "agentName": agent_configuration.name,
|
|
|
+ "datasetId": agent_test_task_conversation.dataset_id,
|
|
|
+ "conversationId": agent_test_task_conversation.conversation_id,
|
|
|
"input": MultiModalChatAgent.compose_dialogue(json.loads(agent_test_task_conversation.input))
|
|
|
if agent_test_task_conversation.input and agent_test_task_conversation.input.strip()
|
|
|
else None,
|
|
@@ -484,7 +485,7 @@ class TaskManager:
|
|
|
TestTaskConversationsStatus.SUCCESS.value,
|
|
|
json.dumps(conversations, ensure_ascii=False),
|
|
|
json.dumps(message, ensure_ascii=False),
|
|
|
- json.dumps(score)
|
|
|
+ json.dumps(score, ensure_ascii=False)
|
|
|
)
|
|
|
|
|
|
except Exception as e:
|