Skip to content

Commit e015c26

Browse files
STetsingci-bot
authored andcommitted
working on remote URL
1 parent cc56462 commit e015c26

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

apps/remix-ide/src/app/tabs/locales/en/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
"settings.enableMCPEnhancement": "Enable MCP Integration",
7171
"settings.enableMCPEnhancementDescription": "Manage your MCP server connections",
7272
"settings.aiPrivacyPolicyDescription": "Understand how RemixAI processes your data.",
73-
"settings.ollamaConfig": "Ollama Configuration",
73+
"settings.ollamaConfig": "Ollama URL Configuration",
7474
"settings.ollamaConfigDescription": "Configure Ollama endpoint for local AI model integration",
7575
"settings.ollama-endpoint": "ENDPOINT URL"
7676
}

libs/remix-ai-core/src/inferencers/local/ollama.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,13 +49,15 @@ export async function discoverOllamaHost(): Promise<string | null> {
4949
_paq.push(['trackEvent', 'ai', 'remixAI', 'ollama_configured_endpoint_success', configuredEndpoint]);
5050
return configuredEndpoint;
5151
}
52+
return null;
5253
} catch (error) {
5354
_paq.push(['trackEvent', 'ai', 'remixAI', 'ollama_configured_endpoint_failed', `${configuredEndpoint}:${error.message || 'unknown'}`]);
5455
// Fall back to discovery if configured endpoint fails
56+
return null;
5557
}
5658
}
5759

58-
// Fall back to port discovery if no configured endpoint or it failed
60+
// Fall back to port discovery if no configured endpoint
5961
for (const port of OLLAMA_PORTS) {
6062
const host = `${OLLAMA_BASE_HOST}:${port}`;
6163
trackMatomoEvent('ai', 'remixAI', `ollama_port_check:${port}`);

0 commit comments

Comments
 (0)