165 lines
No EOL
7.1 KiB
JSON
165 lines
No EOL
7.1 KiB
JSON
{
|
|
"id": "b627bc19-8dab-4f1b-ba1a-3abe6950c158",
|
|
"mandate_id": 1,
|
|
"user_id": 1,
|
|
"name": "Workflow 16.4.2025, 09:23:50",
|
|
"status": "completed",
|
|
"started_at": "2025-04-16T09:23:51.295492",
|
|
"last_activity": "2025-04-16T09:23:57.437777",
|
|
"prompt": "wer ist ceo von valueon",
|
|
"messages": [
|
|
{
|
|
"id": "msg_162b5b35-49b8-443c-9298-8d0aa83d9828",
|
|
"workflow_id": "b627bc19-8dab-4f1b-ba1a-3abe6950c158",
|
|
"parent_message_id": null,
|
|
"started_at": "2025-04-16T09:23:51.304545",
|
|
"finished_at": null,
|
|
"sequence_no": 1,
|
|
"status": "pending",
|
|
"role": "user",
|
|
"data_stats": {
|
|
"processing_time": 0.0,
|
|
"token_count": 0,
|
|
"bytes_sent": 0,
|
|
"bytes_received": 0
|
|
},
|
|
"documents": [],
|
|
"content": "wer ist ceo von valueon",
|
|
"agent_type": null
|
|
},
|
|
{
|
|
"id": "msg_474f8d94-186e-4a9f-8eba-4caa4c7bd991",
|
|
"workflow_id": "b627bc19-8dab-4f1b-ba1a-3abe6950c158",
|
|
"parent_message_id": null,
|
|
"started_at": "2025-04-16T09:23:52.706069",
|
|
"finished_at": null,
|
|
"sequence_no": 2,
|
|
"status": "pending",
|
|
"role": "assistant",
|
|
"data_stats": {
|
|
"processing_time": 0.0,
|
|
"token_count": 0,
|
|
"bytes_sent": 0,
|
|
"bytes_received": 0
|
|
},
|
|
"documents": [],
|
|
"content": "## Error during web research\n\nError during web research: 'NoneType' object has no attribute 'strip'\n\n```\nTraceback (most recent call last):\n File \"D:\\Athi\\Local\\Web\\git-apps\\gateway\\gwserver\\modules\\agentservice_agent_webcrawler.py\", line 104, in process_message\n prompt = await self.get_prompt(message)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"D:\\Athi\\Local\\Web\\git-apps\\gateway\\gwserver\\modules\\agentservice_agent_webcrawler.py\", line 641, in get_prompt\n return task.strip()\n ^^^^^^^^^^\nAttributeError: 'NoneType' object has no attribute 'strip'\n\n```",
|
|
"agent_type": "webcrawler",
|
|
"agent_id": "webcrawler",
|
|
"agent_name": "Webscraper",
|
|
"result_format": "SearchResults"
|
|
},
|
|
{
|
|
"id": "msg_c451b08f-7fed-4da3-9dbb-4bd47e7308e2",
|
|
"workflow_id": "b627bc19-8dab-4f1b-ba1a-3abe6950c158",
|
|
"parent_message_id": null,
|
|
"started_at": "2025-04-16T09:23:57.428684",
|
|
"finished_at": null,
|
|
"sequence_no": 3,
|
|
"status": "pending",
|
|
"role": "assistant",
|
|
"data_stats": {
|
|
"processing_time": 0.0,
|
|
"token_count": 0,
|
|
"bytes_sent": 0,
|
|
"bytes_received": 0
|
|
},
|
|
"documents": [],
|
|
"content": "### Summary of Workflow Results\n\n**Activity:** Web Research \n**Description:** The task involved performing web research to answer a specific query. \n**Executed by:** Webcrawler\n\n**Key Findings and Results:**\n- An error occurred during the web research process, specifically a `'NoneType' object has no attribute 'strip'` error.\n- The error was traced back to the `get_prompt` function in the `agentservice_agent_webcrawler.py` script, indicating that the `task` variable was `None` when the `strip()` method was called.\n\n**Connection to Original Task:**\n- The original task of conducting web research was not completed due to the encountered error. The webcrawler was unable to process the query and generate a prompt, halting the research process.\n\n**Conclusions and Recommendations:**\n- To resolve the issue, it is recommended to implement error handling for cases where the `task` variable might be `None`. This can prevent the script from attempting to call methods on `NoneType` objects.\n- Further debugging is necessary to identify why the `task` variable is `None` and ensure that valid data is being passed to the `get_prompt` function.\n- Once the error is addressed, the web research task should be re-executed to achieve the intended results.",
|
|
"agent_type": "summary",
|
|
"agent_id": "workflow_summary",
|
|
"agent_name": "Workflow Summary",
|
|
"result_format": "Text",
|
|
"workflow_complete": true
|
|
}
|
|
],
|
|
"logs": [
|
|
{
|
|
"id": "log_773b5df0-dbb2-44f7-88cb-08056d6ed43c",
|
|
"message": "Starting workflow execution",
|
|
"type": "info",
|
|
"timestamp": "2025-04-16T09:23:51.299014",
|
|
"agent_id": "workflow",
|
|
"agent_name": "Workflow Management"
|
|
},
|
|
{
|
|
"id": "log_466d9e1c-18c8-4608-8c39-030f113df4ac",
|
|
"message": "User message processed",
|
|
"type": "info",
|
|
"timestamp": "2025-04-16T09:23:51.313621",
|
|
"agent_id": "workflow",
|
|
"agent_name": "Workflow Management"
|
|
},
|
|
{
|
|
"id": "log_f4943a44-24aa-46ae-81ea-646ec2ef3df4",
|
|
"message": "Analyzing task to determine optimal planning approach",
|
|
"type": "info",
|
|
"timestamp": "2025-04-16T09:23:51.318951",
|
|
"agent_id": "planning",
|
|
"agent_name": "Activity Planning"
|
|
},
|
|
{
|
|
"id": "log_927a5576-2053-4983-a349-2ff225455b29",
|
|
"message": "Task analysis: {\"primaryOperationType\": \"extraction\", \"isUsingExistingData\": false, \"mentionedDocuments\": [], \"expectedOutputFormat\": \"unspecified\", \"involvesDocumentProcessing\": false, \"requiresWebResearch\": true, \"requiresComplexComputation\": false, \"containsPowerOnKeyword\": false}",
|
|
"type": "info",
|
|
"timestamp": "2025-04-16T09:23:52.679874",
|
|
"agent_id": "planning",
|
|
"agent_name": "Activity Planning"
|
|
},
|
|
{
|
|
"id": "log_9cfee01c-1183-423e-aa29-a0113e0519a8",
|
|
"message": "Web research task detected, creating specialized plan with webcrawler agent",
|
|
"type": "info",
|
|
"timestamp": "2025-04-16T09:23:52.683872",
|
|
"agent_id": "planning",
|
|
"agent_name": "Activity Planning"
|
|
},
|
|
{
|
|
"id": "log_2ccfa880-c2d7-461b-8c7b-07026b1d7a29",
|
|
"message": "Created agent-aware work plan with 1 activities",
|
|
"type": "info",
|
|
"timestamp": "2025-04-16T09:23:52.687938",
|
|
"agent_id": "planning",
|
|
"agent_name": "Activity Planning"
|
|
},
|
|
{
|
|
"id": "log_89711c3a-764b-41f2-8352-6ba43a5a351a",
|
|
"message": "Starting activity: Web Research",
|
|
"type": "info",
|
|
"timestamp": "2025-04-16T09:23:52.692902",
|
|
"agent_id": "execution",
|
|
"agent_name": "Activity Execution"
|
|
},
|
|
{
|
|
"id": "log_d06120b8-44e7-4c33-b36f-8c1f171e83e2",
|
|
"message": "Executing agent: webcrawler",
|
|
"type": "info",
|
|
"timestamp": "2025-04-16T09:23:52.698432",
|
|
"agent_id": "agents",
|
|
"agent_name": "Agent Selection & Execution"
|
|
},
|
|
{
|
|
"id": "log_a7e243c9-081b-497b-bf15-1f9f85147229",
|
|
"message": "Completed activity: Web Research",
|
|
"type": "info",
|
|
"timestamp": "2025-04-16T09:23:52.706069",
|
|
"agent_id": "execution",
|
|
"agent_name": "Activity Execution"
|
|
},
|
|
{
|
|
"id": "log_67c1e754-f55b-4a53-b93a-ab228170cac2",
|
|
"message": "Created workflow summary",
|
|
"type": "info",
|
|
"timestamp": "2025-04-16T09:23:57.428684",
|
|
"agent_id": "summary",
|
|
"agent_name": "Results Summary"
|
|
}
|
|
],
|
|
"data_stats": {
|
|
"total_processing_time": 6.205657,
|
|
"total_token_count": 0,
|
|
"total_bytes_sent": 0,
|
|
"total_bytes_received": 0
|
|
},
|
|
"completed_at": "2025-04-16T09:23:57.504671"
|
|
} |