feat: refactor AI engine logic, remove cross-engine fallback, add retry with backoff, and bump version to 2.80.18
This commit is contained in:
@@ -90,6 +90,14 @@ export function deactivate() {
|
||||
}
|
||||
|
||||
async function runInitialSetup(context: vscode.ExtensionContext) {
|
||||
// 이미 사용자가 URL을 설정했다면 자동 감지를 스킵
|
||||
const existingUrl = vscode.workspace.getConfiguration('g1nation').get<string>('ollamaUrl');
|
||||
if (existingUrl && existingUrl.trim()) {
|
||||
context.globalState.update('setupComplete', true);
|
||||
logInfo('Initial setup skipped: ollamaUrl already configured.', { existingUrl });
|
||||
return;
|
||||
}
|
||||
|
||||
try {
|
||||
let engineName = '';
|
||||
let modelName = '';
|
||||
|
||||
Reference in New Issue
Block a user