feat: configure Claude OAuth system prompt blocks

This commit is contained in:
dailingfei
2026-06-13 04:12:13 +08:00
parent e34ad2b194
commit 8ce7b9a8f6
16 changed files with 1271 additions and 86 deletions
+6
View File
@@ -556,6 +556,9 @@ export interface SystemSettings {
enable_fingerprint_unification: boolean;
enable_metadata_passthrough: boolean;
enable_cch_signing: boolean;
enable_claude_oauth_system_prompt_injection: boolean;
claude_oauth_system_prompt: string;
claude_oauth_system_prompt_blocks: string;
enable_anthropic_cache_ttl_1h_injection: boolean;
rewrite_message_cache_control: boolean;
antigravity_user_agent_version: string;
@@ -792,6 +795,9 @@ export interface UpdateSettingsRequest {
enable_fingerprint_unification?: boolean;
enable_metadata_passthrough?: boolean;
enable_cch_signing?: boolean;
enable_claude_oauth_system_prompt_injection?: boolean;
claude_oauth_system_prompt?: string;
claude_oauth_system_prompt_blocks?: string;
enable_anthropic_cache_ttl_1h_injection?: boolean;
rewrite_message_cache_control?: boolean;
antigravity_user_agent_version?: string;