19150464 CustomerApi.Jobs.Insights.ExecuteAccountInsightAgentJob
Queue insight_agents
Attempt 2 of 2
Priority 0
Tags ...
Node customer_api@10.10.1.152
Queue Time 00:00.682
Run Time 00:10.648
Inserted 6d ago
Scheduled 6d ago
Completed
Cancelled
Discarded 6d ago

Args

%{
  "account_id" => "101559",
  "account_insight_agent_id" => "7e56e99d-cf2e-4d15-b358-98de402fada8"
}

Meta

%{
  "deps" => [],
  "name" => "execute",
  "on_hold" => false,
  "orig_scheduled_at" => 1772218200408293,
  "partition" => true,
  "partition_key" => "6fzDoobyBtaaCRnUmr8iLrMuztK96P6zjH7bjkxP7og",
  "recorded" => true,
  "structured" => true,
  "uniq" => true,
  "uniq_bmp" => [1, 0, 2, 3],
  "uniq_key" => "IwhZ413a6/WogeKGiCu55fss4vru2lrtAY3Ua9BAIWY",
  "workflow" => true,
  "workflow_id" => "019ca06f-b157-7fa3-873c-2969f7a285a1"
}

Recorded Output

No Recording Yet

Errors

Attempt 2—6d ago

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

Attempt 1—6d ago

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