Swap canonical model from openrouter to models.dev (#6625)
This commit is contained in:
@@ -90,6 +90,7 @@ fn check_context_length_exceeded(text: &str) -> bool {
|
||||
"max_tokens",
|
||||
"decrease input length",
|
||||
"context limit",
|
||||
"maximum prompt length",
|
||||
];
|
||||
let text_lower = text.to_lowercase();
|
||||
check_phrases
|
||||
|
||||
Reference in New Issue
Block a user