Name Replit AI Integrations in setup

This commit is contained in:
hwhung
2026-04-27 12:34:50 +08:00
parent 9a19c87251
commit c5eca5bdb9
3 changed files with 12 additions and 12 deletions
+1 -1
View File
@@ -494,7 +494,7 @@ function errorMessage(err: unknown): string {
function providerNotConfigured(res: Response, provider: "openai" | "anthropic"): void {
res.status(503).json({
error: {
message: `${provider} provider is not configured. Add providers.${provider}.apiKey and providers.${provider}.baseURL to config.json. Use the internal endpoint supplied by your runtime or agent, not the public provider endpoint.`,
message: `${provider} provider is not configured. Add providers.${provider}.apiKey and providers.${provider}.baseURL, or pass the matching CLI flags. Use Replit AI Integrations endpoints, not public provider endpoints.`,
type: "server_error",
},
});