From 03bb764079eb0dd4e9eaf2b4b18ab64e10f32fed Mon Sep 17 00:00:00 2001 From: FURK4NGG <105324908+FURK4NGG@users.noreply.github.com> Date: Tue, 12 May 2026 13:53:20 +0300 Subject: [PATCH] Update config.json --- config.json | 310 +++++++++++++--------------------------------------- 1 file changed, 78 insertions(+), 232 deletions(-) diff --git a/config.json b/config.json index d0ac892..903049a 100644 --- a/config.json +++ b/config.json @@ -1,230 +1,17 @@ { "ui_language": "en", - "ui_strings": { - "tr": { - "o_Toggle_Sidebar": "Göster/Gizle", - "o_Add_Model": "Model Ekle", - "o_Delete_Model": "Modeli Sil", - "o_Delete_Model_Confirm": "Bu modeli silmek istiyor musun?\n\n{model_id}", - "o_Min_Model_Title": "Model Silinemez", - "o_Min_Model_Error": "En az 1 model kalmalı. Son modeli silemezsin.", - "o_New_Chat": "Yeni Sohbet", - "o_Options": "Seçenekler", - "o_Toggle_Dark_Mode": "Karanlık Modu Tetikle", - "o_Settings": "Ayarlar", - "o_Attachments": "Fotoğraf çek, Dosya ekle", - "o_Microphone": "Dikte et", - "o_Send_Button": "Gönder", - "o_Stop_Button": "Durdur", - "o_Scroll_Left": "Sola kaydır", - "o_Scroll_Right": "Sağa kaydır", - "o_Clear_Selection": "Seçimi temizle", - "o_Zoom_Attachments": "Yakınlaştır", - "o_Close_Attachments": "Kapat", - "o_Scroll_Down": "Aşağı kaydır", - "o_AI_Models": "AI Modelleri", - "o_Chats": "Sohbetler", - "o_Delete_Chat": "Sohbeti Sil", - "o_Delete_Chat_Confirm": "Bu sohbeti silmek istiyor musun?\n\nBu işlem geri alınamaz.", - "o_Rename": "İsim'i Değiştir", - "o_New_Name": "Yeni İsim:", - "o_Rename_Hint": "(Dosya adı olarak kaydedilir)", - "o_Pin": "Sabitle", - "o_Unpin": "Sabiti Kaldır", - "o_OpenRouter_API_Key": "🔑 OpenRouter Anahtarı", - "o_Response_Style": "🧠 Cevap Tarzı", - "o_Personalization": "🎨 Kişiselleştirme", - "o_Language": "🇹🇷 Dil", - "o_AI_Settings": "⚙️ AI Ayarları", - "o_Input_Tokens": "Girdi token", - "o_Output_Tokens": "Çıktı token", - "o_Total_Tokens": "Toplam", - "o_Copy": "Kopyala", - "o_Thinking": "Düşünüyor", - "o_Take_Photo": "Fotoğraf Çek", - "o_Attach_File": "Belge Ekle", - "o_Reference_Message": "mesaj referans seçildi", - "o_Apply": "Uygula", - "o_Reject": "Reddet", - "o_Save": "Kaydet", - "o_Cancel": "İptal", - "o_OK": "Tamam", - "o_Add": "Ekle", - "o_Delete": "Sil", - "o_File_Changed": "Dosya değiştirildi", - "o_Cancelled": "İşlem iptal edildi", - "o_Generation_Failed": "Yanıt oluşturulamadı", - "o_OpenRouter_Placeholder": "OpenRouter API Key girin...", - "o_Response_Style_Placeholder": "Örn: Samimi ve esprili konuş", - "o_Window_BG": "Genel arkaplan", - "o_Input_BG": "Input arkaplan", - "o_User_BG": "Kullanıcı balon arkaplan", - "o_User_Text": "Kullanıcı yazı rengi", - "o_Bot_BG": "Bot balon arkaplan", - "o_Bot_Text": "Bot yazı rengi", - "o_Sidebar_Text": "Sidebar yazı rengi", - "o_Token_Usage": "Jeton Kullanımı", - "o_Color_Edit_Hint": "Şu anda {mode_name} renklerini düzenliyorsun.\nHex formatı kullan: örn #303643", - "o_Background_Hint": "Sohbet Arkaplan Resmi", - "o_Background_Path_Placeholder": "/dosya-yolu/resim.png", - "o_Clear": "Temizle", - "o_Select_Image": "Resim Seç", - "o_Reset_Default": "Varsayılana dön", - "o_Force_Language_Text": "Yanıtlar için Arayüz Dilini Kullan", - "o_Force_Language_Hint": "AI her zaman seçili dilde cevap versin.", - "o_Online_STT_Text": "Çevrimiçi STT", - "o_Online_STT_Hint": "Açık ise OpenRouter üzerinden speech-to-text kullanılır.", - "o_Use_Desktop_Audio_Text": "Masaüstü Sesi Kullan", - "o_Use_Desktop_Audio_Hint": "Açık ise mikrofon yerine masaüstünde çalan ses kaydedilmeye çalışılır.", - "o_Online_STT_Model": "Çevrimiçi STT Model", - "o_Binary_Path": "Çalıştırılabilir Dosya Yolu", - "o_Model_Path": "Model Dosya Yolu", - - "o_Active_Chat": "Aktif Sohbet", - "o_Active_Model": "Aktif Model", - "o_Pending_Attachments": "Bekleyen ekler", - "o_image": "görüntü", - "o_file": "dosya", - "o_Pin_Current_Chat": "Mevcut Sohbeti Sabitle", - "o_Unpin_Current_Chat": "Mevcut Sohbetin Sabitini Kaldır", - "o_Send_Message": "Mesaj Gönder", - "o_sub_Send_Message": "Mesajını yaz. Bitirmek için boş satır + Enter yap.", - "o_Empty_Message": "Boş mesaj gönderilmedi.", - "o_AI_Response": "Gönderildi. AI yanıtı bekleniyor...", - "o_Drag_Drop": "Dosya yolu girin veya dosyayı sürükleyip bırakın", - "o_to_Menu": "Menüye dönmek için Enter...", - "o_Empty_Input": "Boş veri giremezsiniz.", - "o_Type_ESC": "İptal etmek için ilk satıra esc yazıp Enter'a bas.", - "o_Press_ESC": "ESC ile seçimi iptal edebilirsiniz.", - "o_Change_Chat": "Sohbeti Değiştir", - "o_Rename_Chat": "İsmi değişecek chat", - "o_New_Value": "Yeni değeri girin:", - "o_Chat_Rename_Fail": "Yeni isim mevcut isimden farklı olmalıdır.", - "o_AI_Model": "AI Modeli", - "o_Change_AI_Model": "AI Modelini Değiştir", - "o_Available_Languages": "Kullanılabilir diller", - "o_Language_Select_Hint": "Aşağıdaki dil kodlarından birini seçebilirsiniz.", - "o_Invalid_Language_Code": "Geçersiz dil kodu. Bu dil config içinde bulunamadı.", - "o_Saved": "Kaydedildi", - "o_Go_Back": "Geri Dön", - "o_Exit": "Çıkış", - "o_Selection": "Seçim" - }, - "en": { - "o_Toggle_Sidebar": "Show/Hide", - "o_Add_Model": "Add Model", - "o_Delete_Model": "Delete Model", - "o_Delete_Model_Confirm": "Do you want to delete this model?\n\n{model_id}", - "o_Min_Model_Title": "Model can't be deleted", - "o_Min_Model_Error": "At least one model must remain. You cannot delete the last model.", - "o_New_Chat": "New Chat", - "o_Options": "Options", - "o_Toggle_Dark_Mode": "Toggle Dark Mode", - "o_Settings": "Settings", - "o_Attachments": "Take photo, Attach file", - "o_Microphone": "Dictate", - "o_Send_Button": "Send", - "o_Stop_Button": "Stop", - "o_Scroll_Left": "Scroll left", - "o_Scroll_Right": "Scroll right", - "o_Clear_Selection": "Clear selection", - "o_Zoom_Attachments": "Zoom in", - "o_Close_Attachments": "Close", - "o_Scroll_Down": "Scroll down", - "o_AI_Models": "AI Models", - "o_Chats": "Chats", - "o_Delete_Chat": "Delete chat", - "o_Delete_Chat_Confirm": "Do you want to delete this chat?\nThis action cannot be undone.", - "o_Rename": "Rename", - "o_New_Name": "New Name:", - "o_Rename_Hint": "(This will be used as the file name)", - "o_Pin": "Pin", - "o_Unpin": "Unpin", - "o_OpenRouter_API_Key": "🔑 OpenRouter API Key", - "o_Response_Style": "🧠 Response style", - "o_Personalization": "🎨 Personalization", - "o_Language": "🇬🇧 Language", - "o_AI_Settings": "⚙️ AI Settings", - "o_Input_Tokens": "Input tokens", - "o_Output_Tokens": "Output tokens", - "o_Total_Tokens": "Total", - "o_Copy": "Copy", - "o_Thinking": "Thinking", - "o_Take_Photo": "Take Photo", - "o_Attach_File": "Attach File", - "o_Reference_Message": "message selected as reference", - "o_Apply": "Apply", - "o_Reject": "Reject", - "o_Save": "Save", - "o_Cancel": "Cancel", - "o_OK": "OK", - "o_Add": "Add", - "o_Delete": "Delete", - "o_File_Changed": "File modified", - "o_Cancelled": "Operation cancelled", - "o_Generation_Failed": "Failed to generate response", - "o_OpenRouter_Placeholder": "Enter OpenRouter API Key...", - "o_Response_Style_Placeholder": "Example: Speak in a friendly and humorous tone", - "o_Window_BG": "Window background", - "o_Input_BG": "Input background", - "o_User_BG": "User bubble background", - "o_User_Text": "User text color", - "o_Bot_BG": "Bot bubble background", - "o_Bot_Text": "Bot text color", - "o_Sidebar_Text": "Sidebar text color", - "o_Token_Usage": "Token Usage", - "o_Color_Edit_Hint": "You are editing {mode_name} colors.\nUse hex format: e.g. #303643", - "o_Background_Hint": "Chat Background Image", - "o_Background_Path_Placeholder": "/file-path/photo.png", - "o_Clear": "Clear", - "o_Select_Image": "Select Image", - "o_Reset_Default": "Reset to default", - "o_Force_Language_Text": "Use UI Language for Responses", - "o_Force_Language_Hint": "AI should always respond in the selected language.", - "o_Online_STT_Text": "Online STT", - "o_Online_STT_Hint": "If enabled, speech-to-text is processed via OpenRouter.", - "o_Use_Desktop_Audio_Text": "Use Desktop Audio", - "o_Use_Desktop_Audio_Hint": "If enabled, system audio will be recorded instead of the microphone.", - "o_Online_STT_Model": "Online STT Model", - "o_Binary_Path": "Binary Path", - "o_Model_Path": "Model Path", - - "o_Active_Chat": "Active Chat", - "o_Active_Model": "Active Model", - "o_Pending_Attachments": "Pending attachments", - "o_image": "image", - "o_file": "file", - "o_Pin_Current_Chat": "Pin Current Chat", - "o_Unpin_Current_Chat": "Unpin Current Chat", - "o_Send_Message": "Send Message", - "o_sub_Send_Message": "Type your message. Press Enter on an empty line to finish.", - "o_Empty_Message": "Empty message was not sent.", - "o_AI_Response": "Sent. Waiting for AI response...", - "o_Drag_Drop": "Enter a file path or drag and drop the file", - "o_to_Menu": "Press Enter to return to the menu...", - "o_Empty_Input": "You cannot enter an empty value.", - "o_Type_ESC": "To cancel, type “esc” on the first line and press Enter.", - "o_Press_ESC": "You can cancel the selection by pressing ESC.", - "o_Change_Chat": "Change Chat", - "o_Rename_Chat": "Chat to be renamed", - "o_New_Value": "Please enter a new value:", - "o_Chat_Rename_Fail": "The new name must be different from the current name.", - "o_AI_Model": "AI Model", - "o_Change_AI_Model": "Change AI Model", - "o_Available_Languages": "Available languages", - "o_Language_Select_Hint": "You can choose one of the language codes below.", - "o_Invalid_Language_Code": "Invalid language code. This language was not found in the config.", - "o_Saved": "Saved", - "o_Go_Back": "Go Back", - "o_Exit": "Exit", - "o_Selection": "Selection" - } - }, "last_chat": "Welcome.json", "dark_mode": true, - "open_router_key": "sk-or-...", - "response_style": "Use a formal and professional tone in your responses.", + "open_router_key": "sk-or-v1-...", + "tavily_api_key": "tvly-dev-...", + "ask_for_web_search": true, + "prompt_chooser_blocks": [ + "copyable" + ], + "response_style": "normal", "show_usage": true, + "show_token_value": true, + "token_value": "2.0", "force_ui_language": true, "is_mic_online": true, "use_desktop_voice": false, @@ -234,13 +21,6 @@ "pinned_chats": [ "Welcome.json" ], - "ai_models": [ - "google/gemini-3-pro-image-preview", - "google/gemini-2.5-flash-image" - ], - "chat_models": { - "Welcome.json": "google/gemini-3-pro-image-preview" - }, "custom_colors_dark": { "window_bg": "#111111", "input_bg": "#1e1e1e", @@ -248,7 +28,8 @@ "user_text": "#ffffff", "bot_bg": "#222222", "bot_text": "#ffffff", - "sidebar_text": "#dddddd" + "sidebar_text": "#dddddd", + "local_model_highlight": "#ff9800" }, "custom_colors_light": { "window_bg": "#f5f5f5", @@ -257,7 +38,72 @@ "user_text": "#111111", "bot_bg": "#ececec", "bot_text": "#111111", - "sidebar_text": "#111111" + "sidebar_text": "#111111", + "local_model_highlight": "#ff9800" }, - "chat_bg_image": "" + "chat_bg_image": "", + "rag_settings": { + "recent_message_count": 10, + "retrieved_chunk_count": 5, + "summary_update_every": 20, + "memory_chunk_max_chars": 1200, + "summary_max_chars": 6000, + "code_context_max_chars": 8000, + "use_summary": false, + "use_recent_messages": true, + "use_retrieval": true, + "use_code_context": true, + "include_recent_attachments": false + }, + "chat_rag_switch": { + "default.json": true, + "dosya.json": false, + "hatalar.json": true, + "chat_9.json": true, + "ses.json": true, + "chat_11.json": false, + "chat_10.json": false, + "resim.json": true, + "gpt5.json": false, + "Welcome.json": false, + "chat_13.json": true, + "chat_14.json": true, + "chat_6.json": true, + "chat_15.json": true, + "chat_16.json": true, + "onemli.json": true + }, + "ai_models": [ + { + "id": "openai/gpt-5", + "local": false + }, + { + "id": "google/gemini-2.5-flash", + "local": false + } + ], + "chat_models": { + "Welcome.json": { + "id": "google/gemini-2.5-flash", + "local": false + } + }, + "local_providers": { + "ollama": { + "enabled": true, + "base_url": "http://127.0.0.1:11434", + "run_startup": "ollama serve", + "stop_command": "pkill -f 'ollama serve'", + "system_error": "Ollama connection error.\nExpected address: {base_url}\nRun 'ollama serve'.", + "temperature": "", + "top_p": "", + "top_k": "", + "repeat_penalty": "", + "num_ctx": "", + "num_predict": "", + "keep_alive": "", + "system_prompt": "" + } + } }