From 69e9a5bb22604041414a5f1073818c8ae53eb2ac Mon Sep 17 00:00:00 2001 From: majdyz Date: Mon, 13 Apr 2026 10:12:44 +0000 Subject: [PATCH] fix(frontend): add cache token fields to UserCostSummary in openapi.json The backend added total_cache_read_tokens and total_cache_creation_tokens to UserCostSummary but the OpenAPI spec was not updated, causing frontend build failures. --- autogpt_platform/frontend/src/app/api/openapi.json | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/autogpt_platform/frontend/src/app/api/openapi.json b/autogpt_platform/frontend/src/app/api/openapi.json index 446b2eb079..bcd881c4fc 100644 --- a/autogpt_platform/frontend/src/app/api/openapi.json +++ b/autogpt_platform/frontend/src/app/api/openapi.json @@ -15575,7 +15575,17 @@ "type": "integer", "title": "Total Output Tokens" }, - "request_count": { "type": "integer", "title": "Request Count" } + "request_count": { "type": "integer", "title": "Request Count" }, + "total_cache_read_tokens": { + "default": 0, + "title": "Total Cache Read Tokens", + "type": "integer" + }, + "total_cache_creation_tokens": { + "default": 0, + "title": "Total Cache Creation Tokens", + "type": "integer" + } }, "type": "object", "required": [