Name Replit AI Integrations in setup
This commit is contained in:
+1
-1
@@ -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",
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user