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

Commit 620a2a5

Browse files
authored
Merge pull request #254 from janhq/update-clean-cache-docs
add(docs): update docs for cache clean
2 parents 58d9ba8 + a204252 commit 620a2a5

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

docs/docs/features/load-unload.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,4 +75,5 @@ In case you got error while loading models. Please check for the correct model p
7575
| `user_prompt` | String | The prompt to use for the user. |
7676
| `ai_prompt` | String | The prompt to use for the AI assistant. |
7777
| `system_prompt` | String | The prompt for system rules. |
78-
| `pre_prompt` | String | The prompt to use for internal configuration. |
78+
| `pre_prompt` | String | The prompt to use for internal configuration. |
79+
|`clean_cache_threshold`| Integer| Number of chats that will trigger clean cache action.|

docs/openapi/NitroAPI.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,11 @@ components:
260260
default: "ASSISTANT:"
261261
nullable: true
262262
description: The prefix for assistant prompt.
263+
clean_cache_threshold:
264+
type: integer
265+
default: 5
266+
nullable: true
267+
description: Number of chats that will trigger clean cache action.
263268
required:
264269
- llama_model_path
265270

0 commit comments

Comments
 (0)