fix: corriger URL Manus Forge de forge.manus.im vers forge.manus.ai
This commit is contained in:
@@ -218,7 +218,7 @@ const resolveApiUrl = () => {
|
||||
// Otherwise use Manus Forge API
|
||||
return ENV.forgeApiUrl && ENV.forgeApiUrl.trim().length > 0
|
||||
? `${ENV.forgeApiUrl.replace(/\/$/, "")}/v1/chat/completions`
|
||||
: "https://forge.manus.im/v1/chat/completions";
|
||||
: "https://forge.manus.ai/v1/chat/completions";
|
||||
};
|
||||
|
||||
const assertApiKey = () => {
|
||||
@@ -289,7 +289,7 @@ function resolveApiUrlWithSettings(settings?: { aiProvider?: string | null; mist
|
||||
return "https://api.mistral.ai/v1/chat/completions";
|
||||
}
|
||||
// Manus provider
|
||||
const forgeUrl = settings?.manusForgeApiUrl || ENV.forgeApiUrl || "https://forge.manus.im";
|
||||
const forgeUrl = settings?.manusForgeApiUrl || ENV.forgeApiUrl || "https://forge.manus.ai";
|
||||
return `${forgeUrl.replace(/\/$/, "")}/v1/chat/completions`;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user