diff --git a/packages/proxy/src/proxy.ts b/packages/proxy/src/proxy.ts index bc0aba3d..05db0420 100644 --- a/packages/proxy/src/proxy.ts +++ b/packages/proxy/src/proxy.ts @@ -1139,7 +1139,7 @@ async function fetchModelLoop( headersString.push(`${key}: ${value}`); }); const errorText = - `AI provider returned ${httpCode} error.\n\nHeaders:\n` + + `The AI provider returned ${httpCode} error. This is likely not an issue with Braintrust, but rather with the model provider.${httpCode === 500 ? " Please check the model provider's status page." : httpCode === 429 ? " Please adjust max concurrency." : ""}\n\nHeaders:\n` + headersString.join("\n"); proxyResponse = { response: new Response(null, { status: httpCode }),