Skip to content
This repository was archived by the owner on Jul 4, 2025. It is now read-only.

Commit af618d2

Browse files
committed
update cache API
1 parent 4d074fb commit af618d2

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

docs/openapi/NitroAPI.yaml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -437,6 +437,10 @@ components:
437437
default: true
438438
nullable: true
439439
description: Determines if output generation is in a streaming manner.
440+
cache_prompt:
441+
type: boolean
442+
default: true
443+
description: Optimize performance in repeated or similar requests.
440444
temp:
441445
type: number
442446
default: 0.7
@@ -577,7 +581,10 @@ components:
577581
min: 0
578582
max: 1
579583
description: Set probability threshold for more relevant outputs
580-
584+
cache_prompt:
585+
type: boolean
586+
default: true
587+
description: Optimize performance in repeated or similar requests.
581588
ChatCompletionResponse:
582589
type: object
583590
description: Description of the response structure

0 commit comments

Comments
 (0)