19153431 CustomerApi.Jobs.Insights.ExecuteAccountInsightAgentJob
Queue insight_agents
Attempt 2 of 2
Priority 0
Tags ...
Node customer_api@10.10.1.126
Queue Time 00:00.441
Run Time 00:15.209
Inserted 5d ago
Scheduled 5d ago
Completed
Cancelled
Discarded 5d ago

Args

%{
  "account_id" => "34567",
  "account_insight_agent_id" => "45606f62-3038-420f-a3c6-f719d461c27f"
}

Meta

%{
  "deps" => [],
  "name" => "execute",
  "on_hold" => false,
  "orig_scheduled_at" => 1772219400528152,
  "partition" => true,
  "partition_key" => "eXIne95kph4mxcz2c3GeIS2C5got2yB3axt1XTOWow8",
  "recorded" => true,
  "structured" => true,
  "uniq" => true,
  "uniq_bmp" => [1, 0, 2, 3],
  "uniq_key" => "fEFOYwfKRX8hZ9mJv+3xyYeX7Vg+SGja4D7gxl1lf0g",
  "workflow" => true,
  "workflow_id" => "019ca082-014f-7a2f-8fc0-ac994c47bd04"
}

Recorded Output

No Recording Yet

Errors

Attempt 2—5d ago

** (Oban.PerformError) CustomerApi.Jobs.Insights.ExecuteAccountInsightAgentJob failed with {:error, %OpenaiEx.Error{status_code: 400, name: "BadRequestError", message: "Item 'fc_006361c584a09d950069a1ec33faf0819d85ecba42e5ba5d64' of type 'function_call' was provided without its required 'reasoning' item: 'rs_006361c584a09d950069a1ec2a31b0819d9bae1db1ee16aa38'.", body: %{"code" => nil, "message" => "Item 'fc_006361c584a09d950069a1ec33faf0819d85ecba42e5ba5d64' of type 'function_call' was provided without its required 'reasoning' item: 'rs_006361c584a09d950069a1ec2a31b0819d9bae1db1ee16aa38'.", "param" => "input", "type" => "invalid_request_error"}, code: nil, param: "input", type: "invalid_request_error", request_id: ["req_5ffaed69c9944ddbaf47ba370f567abe"], request: nil, kind: :bad_request}}

Attempt 1—5d ago

** (Oban.PerformError) CustomerApi.Jobs.Insights.ExecuteAccountInsightAgentJob failed with {:error, %OpenaiEx.Error{status_code: 400, name: "BadRequestError", message: "Item 'fc_02358caf787bc9380069a1ec133898819c8374a4810b154d6e' of type 'function_call' was provided without its required 'reasoning' item: 'rs_02358caf787bc9380069a1ec0b3554819caed6f86ac5c3fb39'.", body: %{"code" => nil, "message" => "Item 'fc_02358caf787bc9380069a1ec133898819c8374a4810b154d6e' of type 'function_call' was provided without its required 'reasoning' item: 'rs_02358caf787bc9380069a1ec0b3554819caed6f86ac5c3fb39'.", "param" => "input", "type" => "invalid_request_error"}, code: nil, param: "input", type: "invalid_request_error", request_id: ["req_ac61b9b699a84495a305c386ba6a91fa"], request: nil, kind: :bad_request}}