19143403 CustomerApi.Jobs.Insights.ExecuteAccountInsightAgentJob
Queue insight_agents
Attempt 2 of 2
Priority 0
Tags ...
Node customer_api@10.10.0.242
Queue Time 00:00.605
Run Time 00:14.525
Inserted 6d ago
Scheduled 6d ago
Completed
Cancelled
Discarded 6d ago

Args

%{
  "account_id" => "101559",
  "account_insight_agent_id" => "e90e11f2-bc47-4f91-bb89-884c32c5cf0d"
}

Meta

%{
  "deps" => [],
  "name" => "execute",
  "on_hold" => false,
  "orig_scheduled_at" => 1772209632941040,
  "partition" => true,
  "partition_key" => "6fzDoobyBtaaCRnUmr8iLrMuztK96P6zjH7bjkxP7og",
  "recorded" => true,
  "structured" => true,
  "uniq" => true,
  "uniq_bmp" => [1, 0, 2, 3],
  "uniq_key" => "Q+QN2JSA9aQ96z+xSYHDCk8yf+GyANJjCt0wMvsdeTY",
  "workflow" => true,
  "workflow_id" => "019c9fec-f6ac-7f76-b531-7fcb95a44665"
}

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_04e84f637148c9610069a1c6194f1881a1b405439e70a0f887' of type 'function_call' was provided without its required 'reasoning' item: 'rs_04e84f637148c9610069a1c60eb11c81a1b50082ad46d8743a'.", body: %{"code" => nil, "message" => "Item 'fc_04e84f637148c9610069a1c6194f1881a1b405439e70a0f887' of type 'function_call' was provided without its required 'reasoning' item: 'rs_04e84f637148c9610069a1c60eb11c81a1b50082ad46d8743a'.", "param" => "input", "type" => "invalid_request_error"}, code: nil, param: "input", type: "invalid_request_error", request_id: ["req_543484e2656d424f8e530f2427a44e33"], 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_04ed3df28f01459f0069a1c5f8152881a08112f1f5422b5d22' of type 'function_call' was provided without its required 'reasoning' item: 'rs_04ed3df28f01459f0069a1c5e48f2481a09535c78d93b6024e'.", body: %{"code" => nil, "message" => "Item 'fc_04ed3df28f01459f0069a1c5f8152881a08112f1f5422b5d22' of type 'function_call' was provided without its required 'reasoning' item: 'rs_04ed3df28f01459f0069a1c5e48f2481a09535c78d93b6024e'.", "param" => "input", "type" => "invalid_request_error"}, code: nil, param: "input", type: "invalid_request_error", request_id: ["req_6a1b67d332cb442086504fd84f815054"], request: nil, kind: :bad_request}}