From ec2acfb9e308c7e0cc337ef3fa19f6d143a0c9bb 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 | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/autogpt_platform/frontend/src/app/api/openapi.json b/autogpt_platform/frontend/src/app/api/openapi.json index 65a074f572..96eb933997 100644 --- a/autogpt_platform/frontend/src/app/api/openapi.json +++ b/autogpt_platform/frontend/src/app/api/openapi.json @@ -15757,6 +15757,16 @@ "type": "integer", "title": "Cost Bearing Request Count", "default": 0 + }, + "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",