Fix type of duration fields
The duration fields return by ollama API are large, nanosecond based integers
This commit is contained in:
parent
bfff252fa9
commit
eb67f20438
@ -524,21 +524,21 @@ components:
|
|||||||
type: number
|
type: number
|
||||||
description: Total duration of the request
|
description: Total duration of the request
|
||||||
load_duration:
|
load_duration:
|
||||||
type: string
|
type: number
|
||||||
description: Load duration of the request
|
description: Load duration of the request
|
||||||
prompt_eval_count:
|
prompt_eval_count:
|
||||||
type: integer
|
type: integer
|
||||||
description: Count of prompt evaluations
|
description: Count of prompt evaluations
|
||||||
prompt_eval_duration:
|
prompt_eval_duration:
|
||||||
type: string
|
type: number
|
||||||
description: Duration of prompt evaluations
|
description: Duration of prompt evaluations
|
||||||
eval_count:
|
eval_count:
|
||||||
type: integer
|
type: integer
|
||||||
description: Count of evaluations
|
description: Count of evaluations
|
||||||
eval_duration:
|
eval_duration:
|
||||||
type: string
|
type: number
|
||||||
description: Duration of evaluations
|
description: Duration of evaluations
|
||||||
|
|
||||||
CreateRequest:
|
CreateRequest:
|
||||||
type: object
|
type: object
|
||||||
description: Request to create a model
|
description: Request to create a model
|
||||||
|
Loading…
x
Reference in New Issue
Block a user