Merge pull request #1 from szocsbarni/feature/add-OpenAPI3.1-spec

Fix type of duration fields
This commit is contained in:
JD Davis 2024-08-21 08:39:50 -05:00 committed by GitHub
commit 236413d4b2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -524,21 +524,21 @@ components:
type: number
description: Total duration of the request
load_duration:
type: string
type: number
description: Load duration of the request
prompt_eval_count:
type: integer
description: Count of prompt evaluations
prompt_eval_duration:
type: string
type: number
description: Duration of prompt evaluations
eval_count:
type: integer
description: Count of evaluations
eval_duration:
type: string
type: number
description: Duration of evaluations
CreateRequest:
type: object
description: Request to create a model