refactor(background-agent): normalize task ID field naming
Rename BackgroundTask and attempt ID fields to camelCase across background-agent consumers while moving BackgroundManager construction to a single config object. Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
@@ -164,20 +164,20 @@ Use \`background_output(task_id="<id>")\` to retrieve each result.
|
||||
status: "completed",
|
||||
attempts: [
|
||||
{
|
||||
attemptID: "att-1",
|
||||
attemptId: "att-1",
|
||||
attemptNumber: 1,
|
||||
sessionID: "ses-primary",
|
||||
providerID: "genai-proxy-openai",
|
||||
modelID: "gpt-5.4-mini",
|
||||
sessionId: "ses-primary",
|
||||
providerId: "genai-proxy-openai",
|
||||
modelId: "gpt-5.4-mini",
|
||||
status: "error",
|
||||
error: "Forbidden: Selected provider is forbidden",
|
||||
},
|
||||
{
|
||||
attemptID: "att-2",
|
||||
attemptId: "att-2",
|
||||
attemptNumber: 2,
|
||||
sessionID: "ses-fallback",
|
||||
providerID: "anthropic",
|
||||
modelID: "claude-haiku-4.5",
|
||||
sessionId: "ses-fallback",
|
||||
providerId: "anthropic",
|
||||
modelId: "claude-haiku-4.5",
|
||||
status: "completed",
|
||||
},
|
||||
],
|
||||
@@ -193,20 +193,20 @@ Use \`background_output(task_id="<id>")\` to retrieve each result.
|
||||
status: "completed",
|
||||
attempts: [
|
||||
{
|
||||
attemptID: "att-1",
|
||||
attemptId: "att-1",
|
||||
attemptNumber: 1,
|
||||
sessionID: "ses-primary",
|
||||
providerID: "genai-proxy-openai",
|
||||
modelID: "gpt-5.4-mini",
|
||||
sessionId: "ses-primary",
|
||||
providerId: "genai-proxy-openai",
|
||||
modelId: "gpt-5.4-mini",
|
||||
status: "error",
|
||||
error: "Forbidden: Selected provider is forbidden",
|
||||
},
|
||||
{
|
||||
attemptID: "att-2",
|
||||
attemptId: "att-2",
|
||||
attemptNumber: 2,
|
||||
sessionID: "ses-fallback",
|
||||
providerID: "anthropic",
|
||||
modelID: "claude-haiku-4.5",
|
||||
sessionId: "ses-fallback",
|
||||
providerId: "anthropic",
|
||||
modelId: "claude-haiku-4.5",
|
||||
status: "completed",
|
||||
},
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user