From e09ff01b1edca6fc4e5b1f8659dc288c75563164 Mon Sep 17 00:00:00 2001 From: Martin Schweiger Date: Thu, 30 Oct 2025 11:52:06 +0800 Subject: [PATCH] feat: add additional response info to llm gateway response --- llm-gateway.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/llm-gateway.yml b/llm-gateway.yml index 02137ae4..785b8ab7 100644 --- a/llm-gateway.yml +++ b/llm-gateway.yml @@ -302,6 +302,18 @@ components: $ref: "#/components/schemas/ToolChoice" usage: $ref: "#/components/schemas/Usage" + http_status_code: + type: integer + description: The HTTP status code of the response + example: 200 + response_time: + type: integer + description: The response time in nanoseconds + example: 275510459 + llm_status_code: + type: integer + description: The status code from the LLM provider + example: 200 Choice: type: object