mirror of
https://github.com/claude-code-best/claude-code.git
synced 2026-06-26 10:05:51 +00:00
feat: 添加 cacheWarningEnabled 配置项,支持在 /config 面板关闭缓存率警告
This commit is contained in:
@@ -1089,6 +1089,12 @@ export const SettingsSchema = lazySchema(() =>
|
||||
.describe(
|
||||
'Prompt cache hit rate threshold (0-100). Warnings shown when cache hit rate falls below this percentage. Default: 80.',
|
||||
),
|
||||
cacheWarningEnabled: z
|
||||
.boolean()
|
||||
.optional()
|
||||
.describe(
|
||||
'Whether to show cache hit rate warnings in the message flow when the rate falls below cacheThreshold. Default: true.',
|
||||
),
|
||||
pluginTrustMessage: z
|
||||
.string()
|
||||
.optional()
|
||||
|
||||
Reference in New Issue
Block a user