fix: preserve tool messages in history to prevent Gemini ordering errors #251
Annotations
3 errors and 1 notice
|
Test
Process completed with exit code 2.
|
|
Test:
example/convex/setup.test.ts#L14
Argument of type 'TestConvex<SchemaDefinition<{ rawUsage: TableDefinition<VObject<{ providerMetadata?: Record<string, Record<string, any>> | undefined; agentName?: string | undefined; provider: string; model: string; usage: { reasoningTokens?: number | undefined; cachedInputTokens?: number | undefined; promptTokens: number; completio...' is not assignable to parameter of type 'TestConvex<SchemaDefinition<GenericSchema, boolean>>'.
|
|
Test:
example/convex/setup.test.ts#L13
Argument of type 'TestConvex<SchemaDefinition<{ rawUsage: TableDefinition<VObject<{ providerMetadata?: Record<string, Record<string, any>> | undefined; agentName?: string | undefined; provider: string; model: string; usage: { reasoningTokens?: number | undefined; cachedInputTokens?: number | undefined; promptTokens: number; completio...' is not assignable to parameter of type 'TestConvex<SchemaDefinition<GenericSchema, boolean>>'.
|
|
Publish package for testing branch
{
"workflowData": {
"owner": "get-convex",
"repo": "agent",
"sha": "d857523f81c581270b6bd2d55915a4f7b6b2473c",
"ref": "251",
"headBranch": null
},
"key": "ND3O2vhjhX",
"runId": 26056102820,
"webhookDebug": {
"action": "in_progress",
"head_branch": "fix/issue-200-gemini-tool-history",
"head_repository_full_name": "elpiarthera/agent",
"full_name": "get-convex/agent",
"isPullRequest": true,
"prNumber": 251,
"prNumberType": "number",
"isNewPullRequest": true,
"isOldPullRequest": false,
"prKey": "elpiarthera/agent:fix/issue-200-gemini-tool-history",
"oldPrDataHash": "LK4Cupb585",
"lookupKey": "elpiarthera/agent:fix/issue-200-gemini-tool-history",
"data": {
"owner": "get-convex",
"repo": "agent",
"sha": "d857523f81c581270b6bd2d55915a4f7b6b2473c",
"ref": "251",
"headBranch": null
}
},
"currentCursor": null
}
|
background
wait
wait-all
cancel
Loading