{
  "version": 51,
  "providers": [
    {
      "id": "ollama",
      "presetType": "ollama",
      "apiType": "openai-compatible",
      "baseUrl": "http://127.0.0.1:11434",
      "apiKey": ""
    }
  ],
  "chatModels": [
    {
      "providerId": "ollama",
      "id": "ollama/qwen2.5:7b",
      "model": "qwen2.5:7b",
      "name": "qwen2.5:7b",
      "modalities": [
        "text"
      ],
      "toolType": "none",
      "gptTools": {
        "webSearch": {
          "enabled": false
        }
      },
      "reasoningType": "none",
      "enable": true
    }
  ],
  "embeddingModels": [
    {
      "providerId": "ollama",
      "id": "ollama/nomic-embed-text:latest",
      "model": "nomic-embed-text:latest",
      "name": "nomic-embed-text:latest",
      "dimension": 768,
      "nativeDimension": 768
    }
  ],
  "chatModelId": "ollama/qwen2.5:7b",
  "chatTitleModelId": "ollama/qwen2.5:7b",
  "embeddingModelId": "ollama/nomic-embed-text:latest",
  "systemPrompt": "",
  "ragOptions": {
    "enabled": true,
    "chunkSize": 1000,
    "thresholdTokens": 20000,
    "minSimilarity": 0,
    "limit": 10,
    "excludePatterns": [],
    "includePatterns": [],
    "indexPdf": true,
    "autoUpdateEnabled": true,
    "autoUpdateIntervalHours": 0,
    "lastAutoUpdateAt": 1778518294409
  },
  "mcp": {
    "servers": [],
    "builtinToolOptions": {}
  },
  "webSearch": {
    "providers": [],
    "common": {
      "resultSize": 10,
      "searchTimeoutMs": 120000,
      "scrapeTimeoutMs": 20000
    }
  },
  "skills": {
    "disabledSkillIds": []
  },
  "yolo": {
    "baseDir": "YOLO"
  },
  "debug": {
    "logModelRequestContext": false
  },
  "chatOptions": {
    "includeCurrentFileContent": true,
    "mentionDisplayMode": "inline",
    "mentionContextMode": "light",
    "chatApplyMode": "review-required",
    "chatTitlePrompt": "",
    "chatMode": "chat",
    "agentModeWarningConfirmed": false,
    "reasoningLevelByModelId": {},
    "historyArchiveEnabled": true,
    "historyArchiveThreshold": 50,
    "autoContextCompactionEnabled": false,
    "autoContextCompactionThresholdMode": "tokens",
    "autoContextCompactionThresholdTokens": 24000,
    "autoContextCompactionThresholdRatio": 0.8,
    "imageReadingEnabled": true,
    "imageCompressionEnabled": true,
    "imageCompressionQuality": 85,
    "externalImageFetchEnabled": false
  },
  "notificationOptions": {
    "enabled": false,
    "channel": "sound",
    "timing": "when-unfocused",
    "notifyOnApprovalRequired": true,
    "notifyOnTaskCompleted": true
  },
  "continuationOptions": {
    "continuationModelId": "",
    "enableSmartSpace": true,
    "enableSelectionChat": true,
    "persistSelectionHighlight": true,
    "manualContextEnabled": false,
    "manualContextFolders": [],
    "referenceRuleFolders": [],
    "knowledgeBaseFolders": [],
    "stream": true,
    "maxContinuationChars": 8000,
    "enableTabCompletion": false,
    "tabCompletionModelId": "",
    "tabCompletionOptions": {
      "idleTriggerEnabled": false,
      "autoTriggerDelayMs": 3000,
      "autoTriggerCooldownMs": 15000,
      "triggerDelayMs": 3000,
      "minContextLength": 20,
      "contextRange": 4000,
      "maxSuggestionLength": 2000,
      "temperature": 0.5,
      "requestTimeoutMs": 12000
    },
    "tabCompletionTriggers": [
      {
        "id": "sentence-end-comma",
        "type": "string",
        "pattern": ", ",
        "enabled": true
      },
      {
        "id": "sentence-end-chinese-comma",
        "type": "string",
        "pattern": "，",
        "enabled": true
      },
      {
        "id": "sentence-end-colon",
        "type": "string",
        "pattern": ": ",
        "enabled": true
      },
      {
        "id": "sentence-end-chinese-colon",
        "type": "string",
        "pattern": "：",
        "enabled": true
      },
      {
        "id": "newline",
        "type": "regex",
        "pattern": "\\n$",
        "enabled": true
      },
      {
        "id": "list-item",
        "type": "regex",
        "pattern": "(?:^|\\n)[-*+]\\s$",
        "enabled": true
      }
    ],
    "tabCompletionSystemPrompt": "Your job is to predict the most logical text that should be written at the location of the <mask/>. Your answer can be either code, a single word, or multiple sentences. Your answer must be in the same language as the text that is already there.\n\nAdditional constraints:\n{{tab_completion_constraints}}\n\nOutput only the text that should appear at the <mask/>. Do not include explanations, labels, or formatting.",
    "tabCompletionConstraints": "",
    "tabCompletionLengthPreset": "medium",
    "smartSpaceTriggerMode": "single-space",
    "smartSpaceUseWebSearch": false,
    "smartSpaceUseUrlContext": false,
    "enableQuickAsk": true,
    "quickAskTrigger": "@",
    "quickAskMode": "chat",
    "quickAskAutoDockToTopRight": true,
    "quickAskContextBeforeChars": 5000,
    "quickAskContextAfterChars": 2000,
    "streamFallbackRecoveryEnabled": true,
    "primaryRequestTimeoutMs": 60000
  },
  "assistants": [
    {
      "id": "__default_agent__",
      "name": "Default",
      "description": "Default editing agent for sidebar chat.",
      "systemPrompt": "",
      "modelId": "ollama/qwen2.5:7b",
      "persona": "balanced",
      "enableTools": true,
      "includeBuiltinTools": true,
      "enabledToolNames": [],
      "toolPreferences": {},
      "enabledSkills": [],
      "skillPreferences": {},
      "createdAt": 1778518156827,
      "updatedAt": 1778518242609
    }
  ],
  "currentAssistantId": "__default_agent__",
  "__meta": {
    "updatedAt": 1778518302206,
    "deviceId": "513eb0fd-60a0-459a-a9d8-bdfbdee0f714"
  }
}