Fix Bug #8425 - Enable prompt cache for OpenRouter model of calude-3.7-sonnet (#8426)

This commit is contained in:
Polly
2025-05-11 06:07:31 +08:00
committed by GitHub
parent bffe8de597
commit 27c49471a8

View File

@@ -50,6 +50,7 @@ LLM_RETRY_EXCEPTIONS: tuple[type[Exception], ...] = (
CACHE_PROMPT_SUPPORTED_MODELS = [
'claude-3-7-sonnet-20250219',
'claude-sonnet-3-7-latest',
'claude-3.7-sonnet',
'claude-3-5-sonnet-20241022',
'claude-3-5-sonnet-20240620',
'claude-3-5-haiku-20241022',