Skip to content

Commit 46fae14

Browse files
authored
feat: add additional response info to llm gateway response (#467)
1 parent df04c6d commit 46fae14

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

llm-gateway.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -302,6 +302,18 @@ components:
302302
$ref: "#/components/schemas/ToolChoice"
303303
usage:
304304
$ref: "#/components/schemas/Usage"
305+
http_status_code:
306+
type: integer
307+
description: The HTTP status code of the response
308+
example: 200
309+
response_time:
310+
type: integer
311+
description: The response time in nanoseconds
312+
example: 275510459
313+
llm_status_code:
314+
type: integer
315+
description: The status code from the LLM provider
316+
example: 200
305317

306318
Choice:
307319
type: object

0 commit comments

Comments
 (0)