Fix type of duration fields

The duration fields return by ollama API are large, nanosecond based integers
This commit is contained in:
Barna Szocs 2024-08-20 10:24:04 +03:00
parent bfff252fa9
commit eb67f20438

@ -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