mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-04-07 00:15:23 +02:00
fix: tighten isClientRejection heuristic
Narrow 'client_id' match to 'client_id mismatch' to avoid false-positive cleanup on unrelated errors that happen to mention client_id.
This commit is contained in:
parent
ed7eaa5a2a
commit
e188ff992b
1 changed files with 1 additions and 1 deletions
|
|
@ -507,7 +507,7 @@ export class MCPConnectionFactory {
|
|||
return (
|
||||
msg.includes('invalid_client') ||
|
||||
msg.includes('unauthorized_client') ||
|
||||
msg.includes('client_id') ||
|
||||
msg.includes('client_id mismatch') ||
|
||||
msg.includes('client not found') ||
|
||||
msg.includes('unknown client')
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue