feat: Add metadata field to request and response

This changes adds Optional metadata field to OpenAI compatible request and
response object.

fixes: #3564
Signed-off-by: Abhishek Bongale <abhishekbongale@outlook.com>
This commit is contained in:
Abhishek Bongale 2025-11-26 11:53:57 +00:00
parent b1c5b8fa9f
commit cfbc1f1624
10 changed files with 98 additions and 0 deletions

View file

@ -6796,6 +6796,12 @@ components:
anyOf:
- type: integer
- type: 'null'
metadata:
anyOf:
- additionalProperties:
type: string
type: object
- type: 'null'
input:
items:
anyOf:
@ -7199,6 +7205,12 @@ components:
anyOf:
- type: integer
- type: 'null'
metadata:
anyOf:
- additionalProperties:
type: string
type: object
- type: 'null'
type: object
required:
- input
@ -7330,6 +7342,12 @@ components:
anyOf:
- type: integer
- type: 'null'
metadata:
anyOf:
- additionalProperties:
type: string
type: object
- type: 'null'
type: object
required:
- created_at