improves model_not_found error message

This commit is contained in:
nai-degen 2023-04-30 22:01:45 -07:00
parent 16b5ccb977
commit 2b783e0f2b
1 changed files with 1 additions and 1 deletions

View File

@ -225,7 +225,7 @@ const handleDownstreamErrors: ProxyResHandlerWithBody = async (
// downgrading feature for now.
// keyPool.downgradeKey(req.key?.hash);
// errorPayload.proxy_note = `This key was incorrectly assigned to GPT-4. It has been downgraded to Turbo.`;
errorPayload.proxy_note = `This key was incorrectly assigned to GPT-4. Try again to get a different key.`;
errorPayload.proxy_note = `This key was incorrectly flagged as GPT-4, or you requested a GPT-4 snapshot for which this key is not authorized. Try again to get a different key, or use Turbo.`;
} else {
errorPayload.proxy_note = `No model was found for this key.`;
}