diff --git a/packages/types/src/global-settings.ts b/packages/types/src/global-settings.ts index b3a6dd531d..1eb4af0427 100644 --- a/packages/types/src/global-settings.ts +++ b/packages/types/src/global-settings.ts @@ -144,6 +144,7 @@ export const globalSettingsSchema = z.object({ // kilocode_change start: Morph fast apply morphApiKey: z.string().optional(), fastApplyModel: fastApplyModelSchema.optional(), + fastApplyApiProvider: z.string().optional(), // kilocode_change end codebaseIndexModels: codebaseIndexModelsSchema.optional(), diff --git a/src/core/tools/editFileTool.ts b/src/core/tools/editFileTool.ts index 0b10e85f1e..63557ededc 100644 --- a/src/core/tools/editFileTool.ts +++ b/src/core/tools/editFileTool.ts @@ -342,9 +342,22 @@ function getFastApplyConfiguration(state: ClineProviderState): FastApplyConfigur // Read the selected model from state const selectedModel = state.fastApplyModel || "auto" + // Read fastApplyApiProvider from state when use current Api Configuration + let fastApplyApiProvider: string | undefined = state.apiConfiguration?.apiProvider + + const useCurrentApiConfiguration = state.fastApplyApiProvider === "-" + + if (!useCurrentApiConfiguration) { + // Read fastApplyApiProvider provider from fast apply setting + fastApplyApiProvider = state.fastApplyApiProvider + } + // Priority 1: Use direct Morph API key if available // Allow human-relay for debugging - if (state.morphApiKey || state.apiConfiguration?.apiProvider === "human-relay") { + if ( + (fastApplyApiProvider === "morph" && state.morphApiKey) || + state.apiConfiguration?.apiProvider === "human-relay" + ) { const [org, model] = selectedModel.split("/") return { available: true, @@ -355,8 +368,8 @@ function getFastApplyConfiguration(state: ClineProviderState): FastApplyConfigur } // Priority 2: Use KiloCode provider - if (state.apiConfiguration?.apiProvider === "kilocode") { - const token = state.apiConfiguration.kilocodeToken + if (fastApplyApiProvider === "kilocode") { + const token = useCurrentApiConfiguration ? state.apiConfiguration.kilocodeToken : state.morphApiKey if (!token) { return { available: false, error: "No KiloCode token available to use Fast Apply" } } @@ -370,15 +383,17 @@ function getFastApplyConfiguration(state: ClineProviderState): FastApplyConfigur } // Priority 3: Use OpenRouter provider - if (state.apiConfiguration?.apiProvider === "openrouter") { - const token = state.apiConfiguration.openRouterApiKey + if (fastApplyApiProvider === "openrouter") { + const token = useCurrentApiConfiguration ? state.apiConfiguration.openRouterApiKey : state.morphApiKey if (!token) { return { available: false, error: "No OpenRouter API token available to use Fast Apply" } } return { available: true, apiKey: token, - baseUrl: state.apiConfiguration.openRouterBaseUrl || "https://openrouter.ai/api/v1", + baseUrl: useCurrentApiConfiguration + ? state.apiConfiguration.openRouterBaseUrl + : "https://openrouter.ai/api/v1", model: selectedModel === "auto" ? "morph/morph-v3-large" : selectedModel, // Use selected model } } diff --git a/src/core/webview/ClineProvider.ts b/src/core/webview/ClineProvider.ts index 88ee0822ac..690accaeb4 100644 --- a/src/core/webview/ClineProvider.ts +++ b/src/core/webview/ClineProvider.ts @@ -1906,6 +1906,7 @@ export class ClineProvider dismissedNotificationIds, // kilocode_change morphApiKey, // kilocode_change fastApplyModel, // kilocode_change: Fast Apply model selection + fastApplyApiProvider, // kilocode_change: Fast Apply model api base url alwaysAllowFollowupQuestions, followupAutoApproveTimeoutMs, includeDiagnosticMessages, @@ -2084,6 +2085,7 @@ export class ClineProvider dismissedNotificationIds: dismissedNotificationIds ?? [], // kilocode_change morphApiKey, // kilocode_change fastApplyModel: fastApplyModel ?? "auto", // kilocode_change: Fast Apply model selection + fastApplyApiProvider: fastApplyApiProvider ?? "-", // kilocode_change: Fast Apply model api base url alwaysAllowFollowupQuestions: alwaysAllowFollowupQuestions ?? false, followupAutoApproveTimeoutMs: followupAutoApproveTimeoutMs ?? 60000, includeDiagnosticMessages: includeDiagnosticMessages ?? true, @@ -2297,6 +2299,7 @@ export class ClineProvider dismissedNotificationIds: stateValues.dismissedNotificationIds ?? [], // kilocode_change morphApiKey: stateValues.morphApiKey, // kilocode_change fastApplyModel: stateValues.fastApplyModel ?? "auto", // kilocode_change: Fast Apply model selection + fastApplyApiProvider: stateValues.fastApplyApiProvider ?? "-", // kilocode_change: Fast Apply model api config id historyPreviewCollapsed: stateValues.historyPreviewCollapsed ?? false, reasoningBlockCollapsed: stateValues.reasoningBlockCollapsed ?? true, cloudUserInfo, @@ -3003,6 +3006,7 @@ export class ClineProvider morphFastApply: Boolean(experiments.morphFastApply), morphApiKey: Boolean(this.contextProxy.getValue("morphApiKey")), selectedModel: this.contextProxy.getValue("fastApplyModel") || "auto", + fastApplyApiProvider: this.contextProxy.getValue("fastApplyApiProvider") || "-", }, } } catch (error) { diff --git a/src/core/webview/webviewMessageHandler.ts b/src/core/webview/webviewMessageHandler.ts index ddd0b6186e..682fc2f9df 100644 --- a/src/core/webview/webviewMessageHandler.ts +++ b/src/core/webview/webviewMessageHandler.ts @@ -1457,6 +1457,11 @@ export const webviewMessageHandler = async ( await provider.postStateToWebview() break } + case "fastApplyApiProvider": { + await updateGlobalState("fastApplyApiProvider", message.text ?? "-") + await provider.postStateToWebview() + break + } // kilocode_change end case "updateVSCodeSetting": { const { setting, value } = message diff --git a/src/shared/ExtensionMessage.ts b/src/shared/ExtensionMessage.ts index 4be68b0c29..ce35e50585 100644 --- a/src/shared/ExtensionMessage.ts +++ b/src/shared/ExtensionMessage.ts @@ -334,6 +334,7 @@ export type ExtensionState = Pick< | "fuzzyMatchThreshold" | "morphApiKey" // kilocode_change: Morph fast apply - global setting | "fastApplyModel" // kilocode_change: Fast Apply model selection + | "fastApplyApiProvider" // kilocode_change: Fast Apply model api base url // | "experiments" // Optional in GlobalSettings, required here. | "language" // | "telemetrySetting" // Optional in GlobalSettings, required here. diff --git a/src/shared/WebviewMessage.ts b/src/shared/WebviewMessage.ts index a020533ae1..6f18b3d8ce 100644 --- a/src/shared/WebviewMessage.ts +++ b/src/shared/WebviewMessage.ts @@ -128,6 +128,7 @@ export interface WebviewMessage { | "fuzzyMatchThreshold" | "morphApiKey" // kilocode_change: Morph fast apply - global setting | "fastApplyModel" // kilocode_change: Fast Apply model selection + | "fastApplyApiProvider" // kilocode_change: Fast Apply model api base url | "writeDelayMs" | "diagnosticsEnabled" | "enhancePrompt" diff --git a/webview-ui/src/components/settings/ExperimentalSettings.tsx b/webview-ui/src/components/settings/ExperimentalSettings.tsx index b98fb03e5e..c6556ee326 100644 --- a/webview-ui/src/components/settings/ExperimentalSettings.tsx +++ b/webview-ui/src/components/settings/ExperimentalSettings.tsx @@ -24,7 +24,8 @@ type ExperimentalSettingsProps = HTMLAttributes & { // kilocode_change start morphApiKey?: string fastApplyModel?: string - setCachedStateField: SetCachedStateField<"morphApiKey" | "fastApplyModel"> + fastApplyApiProvider?: string + setCachedStateField: SetCachedStateField<"morphApiKey" | "fastApplyModel" | "fastApplyApiProvider"> kiloCodeImageApiKey?: string setKiloCodeImageApiKey?: (apiKey: string) => void currentProfileKilocodeToken?: string @@ -50,6 +51,7 @@ export const ExperimentalSettings = ({ // kilocode_change start morphApiKey, fastApplyModel, // kilocode_change: Fast Apply model selection + fastApplyApiProvider, // kilocode_change: Fast Apply model api base url setCachedStateField, setKiloCodeImageApiKey, kiloCodeImageApiKey, @@ -107,6 +109,7 @@ export const ExperimentalSettings = ({ setCachedStateField={setCachedStateField} morphApiKey={morphApiKey} fastApplyModel={fastApplyModel} + fastApplyApiProvider={fastApplyApiProvider} /> )} diff --git a/webview-ui/src/components/settings/FastApplySettings.tsx b/webview-ui/src/components/settings/FastApplySettings.tsx index 4743d6e10f..e40e510a74 100644 --- a/webview-ui/src/components/settings/FastApplySettings.tsx +++ b/webview-ui/src/components/settings/FastApplySettings.tsx @@ -6,15 +6,39 @@ import { SetCachedStateField } from "./types" export const FastApplySettings = ({ morphApiKey, fastApplyModel, + fastApplyApiProvider, setCachedStateField, }: { morphApiKey?: string fastApplyModel?: string - setCachedStateField: SetCachedStateField<"morphApiKey" | "fastApplyModel"> + fastApplyApiProvider?: string + setCachedStateField: SetCachedStateField<"morphApiKey" | "fastApplyModel" | "fastApplyApiProvider"> }) => { const { t } = useAppTranslation() return (
+
+ + setCachedStateField("fastApplyApiProvider", (e.target as any)?.value || "-")} + className="w-full"> + + Kilo Code + + + OpenRouter + + + Morph + + + Use Current Configuration + + +
- setCachedStateField("morphApiKey", (e.target as any)?.value || "")} - className="w-full"> - {t("settings:experimental.MORPH_FAST_APPLY.apiKey")} - + {fastApplyApiProvider !== "-" && ( + setCachedStateField("morphApiKey", (e.target as any)?.value || "")} + className="w-full"> + {t("settings:experimental.MORPH_FAST_APPLY.apiKey")} + + )}
) } diff --git a/webview-ui/src/components/settings/SettingsView.tsx b/webview-ui/src/components/settings/SettingsView.tsx index cc693ebbeb..d9d363d68d 100644 --- a/webview-ui/src/components/settings/SettingsView.tsx +++ b/webview-ui/src/components/settings/SettingsView.tsx @@ -183,6 +183,7 @@ const SettingsView = forwardRef(({ onDone, t experiments, morphApiKey, // kilocode_change fastApplyModel, // kilocode_change: Fast Apply model selection + fastApplyApiProvider, // kilocode_change: Fast Apply model api base url fuzzyMatchThreshold, maxOpenTabsContext, maxWorkspaceFiles, @@ -474,6 +475,7 @@ const SettingsView = forwardRef(({ onDone, t vscode.postMessage({ type: "ghostServiceSettings", values: ghostServiceSettings }) // kilocode_change vscode.postMessage({ type: "morphApiKey", text: morphApiKey }) // kilocode_change vscode.postMessage({ type: "fastApplyModel", text: fastApplyModel }) // kilocode_change: Fast Apply model selection + vscode.postMessage({ type: "fastApplyApiProvider", text: fastApplyApiProvider }) // kilocode_change: Fast Apply model api base url vscode.postMessage({ type: "openRouterImageApiKey", text: openRouterImageApiKey }) vscode.postMessage({ type: "kiloCodeImageApiKey", text: kiloCodeImageApiKey }) vscode.postMessage({ @@ -944,6 +946,7 @@ const SettingsView = forwardRef(({ onDone, t setCachedStateField={setCachedStateField} morphApiKey={morphApiKey} fastApplyModel={fastApplyModel} + fastApplyApiProvider={fastApplyApiProvider} // kilocode_change end apiConfiguration={apiConfiguration} setApiConfigurationField={setApiConfigurationField} diff --git a/webview-ui/src/i18n/locales/ar/settings.json b/webview-ui/src/i18n/locales/ar/settings.json index 960b92fac5..7a84cfac1b 100644 --- a/webview-ui/src/i18n/locales/ar/settings.json +++ b/webview-ui/src/i18n/locales/ar/settings.json @@ -835,8 +835,8 @@ "MORPH_FAST_APPLY": { "name": "تفعيل التطبيق السريع", "description": "عند التفعيل، يمكن لـ Kilo Code تعديل الملفات باستخدام التطبيق السريع مع نماذج متخصصة محسّنة لتعديلات الكود. يتطلب مزود Kilo Code API أو OpenRouter أو مفتاح Morph API.", - "apiKey": "مفتاح Morph API (اختياري)", - "placeholder": "أدخل مفتاح Morph API (اختياري)", + "apiKey": "مفتاح Morph API", + "placeholder": "أدخل مفتاح Morph API", "modelLabel": "اختيار النموذج", "modelDescription": "اختر نموذج التطبيق السريع لتعديل الملفات", "models": { diff --git a/webview-ui/src/i18n/locales/ca/settings.json b/webview-ui/src/i18n/locales/ca/settings.json index 179c62668b..3569e42f61 100644 --- a/webview-ui/src/i18n/locales/ca/settings.json +++ b/webview-ui/src/i18n/locales/ca/settings.json @@ -798,8 +798,8 @@ "MORPH_FAST_APPLY": { "name": "Habilitar Fast Apply", "description": "Quan està habilitat, Kilo Code pot editar fitxers utilitzant Fast Apply amb models especialitzats optimitzats per a modificacions de codi. Requereix el proveïdor d'API de Kilo Code, OpenRouter o una clau d'API de Morph.", - "apiKey": "Clau d'API de Morph (opcional)", - "placeholder": "Introduïu la vostra clau d'API de Morph (opcional)", + "apiKey": "Clau d'API de Morph", + "placeholder": "Introduïu la vostra clau d'API de Morph", "modelLabel": "Selecció de model", "modelDescription": "Trieu quin model de Fast Apply utilitzar per a edicions de fitxers", "models": { diff --git a/webview-ui/src/i18n/locales/cs/settings.json b/webview-ui/src/i18n/locales/cs/settings.json index 03621a6ac6..47eae45c03 100644 --- a/webview-ui/src/i18n/locales/cs/settings.json +++ b/webview-ui/src/i18n/locales/cs/settings.json @@ -818,8 +818,8 @@ "MORPH_FAST_APPLY": { "name": "Povolit rychlé aplikování", "description": "Pokud je povoleno, Kilo Code může upravovat soubory pomocí rychlého aplikování se specializovanými modely optimalizovanými pro úpravy kódu. Vyžaduje poskytovatele Kilo Code API, OpenRouter nebo klíč API Morph.", - "apiKey": "Klíč API Morph (volitelné)", - "placeholder": "Zadejte svůj klíč API Morph (volitelné)", + "apiKey": "Klíč API Morph", + "placeholder": "Zadejte svůj klíč API Morph", "modelLabel": "Výběr modelu", "modelDescription": "Vyberte, který model rychlého aplikování použít pro úpravy souborů", "models": { diff --git a/webview-ui/src/i18n/locales/de/settings.json b/webview-ui/src/i18n/locales/de/settings.json index 37acc150c7..f4a5076702 100644 --- a/webview-ui/src/i18n/locales/de/settings.json +++ b/webview-ui/src/i18n/locales/de/settings.json @@ -767,8 +767,8 @@ "MORPH_FAST_APPLY": { "name": "Fast Apply aktivieren", "description": "Wenn aktiviert, kann Kilo Code Dateien mit Fast Apply unter Verwendung spezialisierter Modelle bearbeiten, die für Code-Änderungen optimiert sind. Erfordert den Kilo Code API-Anbieter, OpenRouter oder einen Morph API-Schlüssel.", - "apiKey": "Morph API-Schlüssel (optional)", - "placeholder": "Gib deinen Morph API-Schlüssel ein (optional)", + "apiKey": "Morph API-Schlüssel", + "placeholder": "Gib deinen Morph API-Schlüssel ein", "modelLabel": "Modellauswahl", "modelDescription": "Wähle, welches Fast Apply-Modell für Dateibearbeitungen verwendet werden soll", "models": { diff --git a/webview-ui/src/i18n/locales/en/settings.json b/webview-ui/src/i18n/locales/en/settings.json index 31dbb4b2a8..11ca6a560a 100644 --- a/webview-ui/src/i18n/locales/en/settings.json +++ b/webview-ui/src/i18n/locales/en/settings.json @@ -794,8 +794,9 @@ "MORPH_FAST_APPLY": { "name": "Enable Fast Apply", "description": "When enabled, Kilo Code can edit files using Fast Apply with specialized models optimized for code modifications. Requires the Kilo Code API Provider, OpenRouter, or a Morph API key.", - "apiKey": "Morph API key (optional)", - "placeholder": "Enter your Morph API key (optional)", + "apiProvider": "Fast Apply Model API Provider", + "apiKey": "Fast Apply Model API key", + "placeholder": "Enter your Fast Apply Model API key", "modelLabel": "Model Selection", "modelDescription": "Choose which Fast Apply model to use for file edits", "models": { diff --git a/webview-ui/src/i18n/locales/es/settings.json b/webview-ui/src/i18n/locales/es/settings.json index bce2c528a1..2ecdeece2c 100644 --- a/webview-ui/src/i18n/locales/es/settings.json +++ b/webview-ui/src/i18n/locales/es/settings.json @@ -767,8 +767,8 @@ "MORPH_FAST_APPLY": { "name": "Habilitar Fast Apply", "description": "Cuando está habilitado, Kilo Code puede editar archivos usando Fast Apply con modelos especializados optimizados para modificaciones de código. Requiere el proveedor de API de Kilo Code, OpenRouter o una clave API de Morph.", - "apiKey": "Clave API de Morph (opcional)", - "placeholder": "Introduce tu clave API de Morph (opcional)", + "apiKey": "Clave API de Morph", + "placeholder": "Introduce tu clave API de Morph", "modelLabel": "Selección de modelo", "modelDescription": "Elige qué modelo de Fast Apply usar para ediciones de archivos", "models": { diff --git a/webview-ui/src/i18n/locales/fr/settings.json b/webview-ui/src/i18n/locales/fr/settings.json index 8e754e7381..86c8a010af 100644 --- a/webview-ui/src/i18n/locales/fr/settings.json +++ b/webview-ui/src/i18n/locales/fr/settings.json @@ -767,8 +767,8 @@ "MORPH_FAST_APPLY": { "name": "Activer Fast Apply", "description": "Lorsque cette option est activée, Kilo Code peut éditer des fichiers en utilisant Fast Apply avec des modèles spécialisés optimisés pour les modifications de code. Nécessite le fournisseur d'API Kilo Code, OpenRouter ou une clé API Morph.", - "apiKey": "Clé API Morph (optionnel)", - "placeholder": "Entrez votre clé API Morph (optionnel)", + "apiKey": "Clé API Morph", + "placeholder": "Entrez votre clé API Morph", "modelLabel": "Sélection du modèle", "modelDescription": "Choisissez quel modèle Fast Apply utiliser pour les éditions de fichiers", "models": { diff --git a/webview-ui/src/i18n/locales/hi/settings.json b/webview-ui/src/i18n/locales/hi/settings.json index 2c7f7fcbdf..e452750d61 100644 --- a/webview-ui/src/i18n/locales/hi/settings.json +++ b/webview-ui/src/i18n/locales/hi/settings.json @@ -768,8 +768,8 @@ "MORPH_FAST_APPLY": { "name": "Fast Apply सक्षम करें", "description": "जब सक्षम होता है, तो Kilo Code कोड संशोधनों के लिए अनुकूलित विशेष मॉडल के साथ Fast Apply का उपयोग करके फ़ाइलें संपादित कर सकता है। Kilo Code API प्रदाता, OpenRouter, या Morph API कुंजी की आवश्यकता है।", - "apiKey": "Morph API कुंजी (वैकल्पिक)", - "placeholder": "अपनी Morph API कुंजी दर्ज करें (वैकल्पिक)", + "apiKey": "Morph API कुंजी", + "placeholder": "अपनी Morph API कुंजी दर्ज करें", "modelLabel": "मॉडल चयन", "modelDescription": "फ़ाइल संपादन के लिए किस Fast Apply मॉडल का उपयोग करना है चुनें", "models": { diff --git a/webview-ui/src/i18n/locales/id/settings.json b/webview-ui/src/i18n/locales/id/settings.json index d72cfd58e5..b38ac1d312 100644 --- a/webview-ui/src/i18n/locales/id/settings.json +++ b/webview-ui/src/i18n/locales/id/settings.json @@ -789,8 +789,8 @@ "MORPH_FAST_APPLY": { "name": "Aktifkan Fast Apply", "description": "Ketika diaktifkan, Kilo Code dapat mengedit file menggunakan Fast Apply dengan model khusus yang dioptimalkan untuk modifikasi kode. Memerlukan Kilo Code API Provider, OpenRouter, atau kunci API Morph.", - "apiKey": "Kunci API Morph (opsional)", - "placeholder": "Masukkan kunci API Morph kamu (opsional)", + "apiKey": "Kunci API Morph", + "placeholder": "Masukkan kunci API Morph kamu", "modelLabel": "Pemilihan Model", "modelDescription": "Pilih model Fast Apply mana yang akan digunakan untuk edit file", "models": { diff --git a/webview-ui/src/i18n/locales/it/settings.json b/webview-ui/src/i18n/locales/it/settings.json index 737f200f6a..57ac0d7511 100644 --- a/webview-ui/src/i18n/locales/it/settings.json +++ b/webview-ui/src/i18n/locales/it/settings.json @@ -800,8 +800,8 @@ "MORPH_FAST_APPLY": { "name": "Abilita Fast Apply", "description": "Quando abilitato, Kilo Code può modificare i file utilizzando Fast Apply con modelli specializzati ottimizzati per le modifiche al codice. Richiede il provider API Kilo Code, OpenRouter o una chiave API Morph.", - "apiKey": "Chiave API Morph (opzionale)", - "placeholder": "Inserisci la tua chiave API Morph (opzionale)", + "apiKey": "Chiave API Morph", + "placeholder": "Inserisci la tua chiave API Morph", "modelLabel": "Selezione modello", "modelDescription": "Scegli quale modello Fast Apply utilizzare per le modifiche ai file", "models": { diff --git a/webview-ui/src/i18n/locales/ja/settings.json b/webview-ui/src/i18n/locales/ja/settings.json index 882183a413..88865dbf4b 100644 --- a/webview-ui/src/i18n/locales/ja/settings.json +++ b/webview-ui/src/i18n/locales/ja/settings.json @@ -800,8 +800,8 @@ "MORPH_FAST_APPLY": { "name": "Fast Applyを有効化", "description": "有効にすると、Kilo Codeはコード変更に最適化された専用モデルを使用してFast Applyでファイルを編集できます。Kilo Code APIプロバイダー、OpenRouter、またはMorph APIキーが必要です。", - "apiKey": "Morph APIキー(オプション)", - "placeholder": "Morph APIキーを入力してください(オプション)", + "apiKey": "Morph APIキー", + "placeholder": "Morph APIキーを入力してください", "modelLabel": "モデル選択", "modelDescription": "ファイル編集に使用するFast Applyモデルを選択", "models": { diff --git a/webview-ui/src/i18n/locales/ko/settings.json b/webview-ui/src/i18n/locales/ko/settings.json index b02bdad689..4ac1582b07 100644 --- a/webview-ui/src/i18n/locales/ko/settings.json +++ b/webview-ui/src/i18n/locales/ko/settings.json @@ -768,8 +768,8 @@ "MORPH_FAST_APPLY": { "name": "Fast Apply 활성화", "description": "활성화하면 Kilo Code는 코드 수정에 최적화된 특수 모델을 사용하여 Fast Apply로 파일을 편집할 수 있습니다. Kilo Code API 제공자, OpenRouter 또는 Morph API 키가 필요합니다.", - "apiKey": "Morph API 키 (선택사항)", - "placeholder": "Morph API 키를 입력하세요 (선택사항)", + "apiKey": "Morph API 키", + "placeholder": "Morph API 키를 입력하세요", "modelLabel": "모델 선택", "modelDescription": "파일 편집에 사용할 Fast Apply 모델을 선택하세요", "models": { diff --git a/webview-ui/src/i18n/locales/nl/settings.json b/webview-ui/src/i18n/locales/nl/settings.json index a40ee3100e..61daff05de 100644 --- a/webview-ui/src/i18n/locales/nl/settings.json +++ b/webview-ui/src/i18n/locales/nl/settings.json @@ -768,8 +768,8 @@ "MORPH_FAST_APPLY": { "name": "Fast Apply inschakelen", "description": "Wanneer ingeschakeld, kan Kilo Code bestanden bewerken met Fast Apply met gespecialiseerde modellen geoptimaliseerd voor codewijzigingen. Vereist de Kilo Code API Provider, OpenRouter, of een Morph API-sleutel.", - "apiKey": "Morph API-sleutel (optioneel)", - "placeholder": "Voer je Morph API-sleutel in (optioneel)", + "apiKey": "Morph API-sleutel", + "placeholder": "Voer je Morph API-sleutel in", "modelLabel": "Modelselectie", "modelDescription": "Kies welk Fast Apply-model te gebruiken voor bestandsbewerkingen", "models": { diff --git a/webview-ui/src/i18n/locales/pl/settings.json b/webview-ui/src/i18n/locales/pl/settings.json index c0a1907821..8f3de9187f 100644 --- a/webview-ui/src/i18n/locales/pl/settings.json +++ b/webview-ui/src/i18n/locales/pl/settings.json @@ -768,8 +768,8 @@ "MORPH_FAST_APPLY": { "name": "Włącz szybkie stosowanie", "description": "Gdy włączone, Kilo Code może edytować pliki za pomocą szybkiego stosowania ze specjalizowanymi modelami zoptymalizowanymi do modyfikacji kodu. Wymaga dostawcy API Kilo Code, OpenRouter lub klucza API Morph.", - "apiKey": "Klucz API Morph (opcjonalnie)", - "placeholder": "Wprowadź swój klucz API Morph (opcjonalnie)", + "apiKey": "Klucz API Morph", + "placeholder": "Wprowadź swój klucz API Morph", "modelLabel": "Wybór modelu", "modelDescription": "Wybierz, który model szybkiego stosowania użyć do edycji plików", "models": { diff --git a/webview-ui/src/i18n/locales/pt-BR/settings.json b/webview-ui/src/i18n/locales/pt-BR/settings.json index 7f4624e863..115104c28a 100644 --- a/webview-ui/src/i18n/locales/pt-BR/settings.json +++ b/webview-ui/src/i18n/locales/pt-BR/settings.json @@ -768,8 +768,8 @@ "MORPH_FAST_APPLY": { "name": "Habilitar Fast Apply", "description": "Quando habilitado, o Kilo Code pode editar arquivos usando Fast Apply com modelos especializados otimizados para modificações de código. Requer o Provedor de API Kilo Code, OpenRouter ou uma chave de API Morph.", - "apiKey": "Chave de API Morph (opcional)", - "placeholder": "Digite sua chave de API Morph (opcional)", + "apiKey": "Chave de API Morph", + "placeholder": "Digite sua chave de API Morph", "modelLabel": "Seleção de Modelo", "modelDescription": "Escolha qual modelo Fast Apply usar para edições de arquivos", "models": { diff --git a/webview-ui/src/i18n/locales/ru/settings.json b/webview-ui/src/i18n/locales/ru/settings.json index e4bd887698..9aa9b03be6 100644 --- a/webview-ui/src/i18n/locales/ru/settings.json +++ b/webview-ui/src/i18n/locales/ru/settings.json @@ -768,8 +768,8 @@ "MORPH_FAST_APPLY": { "name": "Включить Fast Apply", "description": "Если включено, Kilo Code может редактировать файлы с помощью Fast Apply со специализированными моделями, оптимизированными для изменения кода. Требуется провайдер Kilo Code API, OpenRouter или API-ключ Morph.", - "apiKey": "API-ключ Morph (необязательно)", - "placeholder": "Введите ваш API-ключ Morph (необязательно)", + "apiKey": "API-ключ Morph", + "placeholder": "Введите ваш API-ключ Morph", "modelLabel": "Выбор модели", "modelDescription": "Выберите модель Fast Apply для редактирования файлов", "models": { diff --git a/webview-ui/src/i18n/locales/th/settings.json b/webview-ui/src/i18n/locales/th/settings.json index 606dc766c1..b2134ee59c 100644 --- a/webview-ui/src/i18n/locales/th/settings.json +++ b/webview-ui/src/i18n/locales/th/settings.json @@ -856,8 +856,8 @@ "MORPH_FAST_APPLY": { "name": "เปิดใช้งาน Fast Apply", "description": "เมื่อเปิดใช้งาน Kilo Code สามารถแก้ไขไฟล์โดยใช้ Fast Apply กับโมเดลเฉพาะทางที่ปรับแต่งสำหรับการแก้ไขโค้ด ต้องใช้ Kilo Code API Provider, OpenRouter หรือ Morph API key", - "apiKey": "Morph API key (ไม่บังคับ)", - "placeholder": "ป้อน Morph API key ของคุณ (ไม่บังคับ)", + "apiKey": "Morph API key", + "placeholder": "ป้อน Morph API key ของคุณ", "modelLabel": "การเลือกโมเดล", "modelDescription": "เลือกโมเดล Fast Apply ที่จะใช้สำหรับการแก้ไขไฟล์", "models": { diff --git a/webview-ui/src/i18n/locales/tr/settings.json b/webview-ui/src/i18n/locales/tr/settings.json index 8f9bb5ba70..38e427b19b 100644 --- a/webview-ui/src/i18n/locales/tr/settings.json +++ b/webview-ui/src/i18n/locales/tr/settings.json @@ -769,8 +769,8 @@ "MORPH_FAST_APPLY": { "name": "Hızlı Uygulama'yı etkinleştir", "description": "Etkinleştirildiğinde, Kilo Code dosyaları kod değişiklikleri için optimize edilmiş özel modellerle Hızlı Uygulama kullanarak düzenleyebilir. Kilo Code API Sağlayıcısı, OpenRouter veya bir Morph API anahtarı gerektirir.", - "apiKey": "Morph API anahtarı (isteğe bağlı)", - "placeholder": "Morph API anahtarınızı girin (isteğe bağlı)", + "apiKey": "Morph API anahtarı", + "placeholder": "Morph API anahtarınızı girin", "modelLabel": "Model Seçimi", "modelDescription": "Dosya düzenlemeleri için hangi Hızlı Uygulama modelinin kullanılacağını seçin", "models": { diff --git a/webview-ui/src/i18n/locales/uk/settings.json b/webview-ui/src/i18n/locales/uk/settings.json index 0f4a3ce1b7..515ae5f8ca 100644 --- a/webview-ui/src/i18n/locales/uk/settings.json +++ b/webview-ui/src/i18n/locales/uk/settings.json @@ -866,8 +866,8 @@ "MORPH_FAST_APPLY": { "name": "Увімкнути швидке застосування", "description": "Коли увімкнено, Kilo Code може редагувати файли за допомогою швидкого застосування зі спеціалізованими моделями, оптимізованими для модифікацій коду. Потребує провайдера Kilo Code API, OpenRouter або ключа API Morph.", - "apiKey": "Ключ API Morph (необов'язково)", - "placeholder": "Введіть ваш ключ API Morph (необов'язково)", + "apiKey": "Ключ API Morph", + "placeholder": "Введіть ваш ключ API Morph", "modelLabel": "Вибір моделі", "modelDescription": "Виберіть, яку модель швидкого застосування використовувати для редагування файлів", "models": { diff --git a/webview-ui/src/i18n/locales/vi/settings.json b/webview-ui/src/i18n/locales/vi/settings.json index de37986f5b..47e53177e2 100644 --- a/webview-ui/src/i18n/locales/vi/settings.json +++ b/webview-ui/src/i18n/locales/vi/settings.json @@ -799,8 +799,8 @@ "MORPH_FAST_APPLY": { "name": "Bật Fast Apply", "description": "Khi được bật, Kilo Code có thể chỉnh sửa tệp bằng Fast Apply với các mô hình chuyên biệt được tối ưu hóa cho việc sửa đổi mã. Yêu cầu Nhà cung cấp API Kilo Code, OpenRouter hoặc khóa API Morph.", - "apiKey": "Khóa API Morph (tùy chọn)", - "placeholder": "Nhập khóa API Morph của bạn (tùy chọn)", + "apiKey": "Khóa API Morph", + "placeholder": "Nhập khóa API Morph của bạn", "modelLabel": "Lựa chọn mô hình", "modelDescription": "Chọn mô hình Fast Apply nào để sử dụng cho việc chỉnh sửa tệp", "models": { diff --git a/webview-ui/src/i18n/locales/zh-CN/settings.json b/webview-ui/src/i18n/locales/zh-CN/settings.json index 0f200d24bd..0518dda01e 100644 --- a/webview-ui/src/i18n/locales/zh-CN/settings.json +++ b/webview-ui/src/i18n/locales/zh-CN/settings.json @@ -804,8 +804,8 @@ "MORPH_FAST_APPLY": { "name": "启用快速应用", "description": "启用后 Kilo Code 可使用专门优化的代码修改模型进行快速应用编辑文件。需要 Kilo Code API 提供商、OpenRouter 或 Morph API 密钥。", - "apiKey": "Morph API 密钥(可选)", - "placeholder": "输入您的 Morph API 密钥(可选)", + "apiKey": "Morph API 密钥", + "placeholder": "输入您的 Morph API 密钥", "modelLabel": "模型选择", "modelDescription": "选择用于文件编辑的快速应用模型", "models": { diff --git a/webview-ui/src/i18n/locales/zh-TW/settings.json b/webview-ui/src/i18n/locales/zh-TW/settings.json index 8b065ee52c..a10e647901 100644 --- a/webview-ui/src/i18n/locales/zh-TW/settings.json +++ b/webview-ui/src/i18n/locales/zh-TW/settings.json @@ -769,8 +769,8 @@ "MORPH_FAST_APPLY": { "name": "啟用快速套用", "description": "啟用後,Kilo Code 可使用專為程式碼修改最佳化的特殊模型進行快速套用編輯檔案。需要 Kilo Code API 供應商、OpenRouter 或 Morph API 金鑰。", - "apiKey": "Morph API 金鑰(選用)", - "placeholder": "輸入您的 Morph API 金鑰(選用)", + "apiKey": "Morph API 金鑰", + "placeholder": "輸入您的 Morph API 金鑰", "modelLabel": "模型選擇", "modelDescription": "選擇用於檔案編輯的快速套用模型", "models": {