I can't make bolt.diy working using local Ollama

Thanks for getting back to me.

I’ve recorded a short screen sharing: iCloud Photos - Apple iCloud

Also here are the screenshots:

Logs:

[DEBUG] 2024-12-30T13:42:37.111Z - System configuration loaded
Details: {
  "runtime": "Next.js",
  "features": [
    "AI Chat",
    "Event Logging"
  ]
}

[WARNING] 2024-12-30T13:42:37.111Z - Resource usage threshold approaching
Details: {
  "memoryUsage": "75%",
  "cpuLoad": "60%"
}

[ERROR] 2024-12-30T13:42:37.111Z - API connection failed
Details: {
  "endpoint": "/api/chat",
  "retryCount": 3,
  "lastAttempt": "2024-12-30T13:42:37.111Z",
  "error": {
    "message": "Connection timeout",
    "stack": "Error: Connection timeout\n    at http://10.150.10.9:5173/assets/index-DI-h_ADC.js:635:6991\n    at lo (http://10.150.10.9:5173/assets/components-6Yp278Dk.js:40:24250)\n    at fr (http://10.150.10.9:5173/assets/components-6Yp278Dk.js:40:42274)\n    at Iv (http://10.150.10.9:5173/assets/components-6Yp278Dk.js:40:41125)\n    at Pn (http://10.150.10.9:5173/assets/components-6Yp278Dk.js:40:40178)\n    at _c (http://10.150.10.9:5173/assets/components-6Yp278Dk.js:40:36800)\n    at wn (http://10.150.10.9:5173/assets/components-6Yp278Dk.js:38:3274)\n    at http://10.150.10.9:5173/assets/components-6Yp278Dk.js:40:34187"
  }
}

[INFO] 2024-12-30T13:42:37.110Z - Application initialized
Details: {
  "environment": "production"
}

[WARNING] 2024-12-30T13:42:30.619Z - Resource usage threshold approaching
Details: {
  "memoryUsage": "75%",
  "cpuLoad": "60%"
}

[ERROR] 2024-12-30T13:42:30.619Z - API connection failed
Details: {
  "endpoint": "/api/chat",
  "retryCount": 3,
  "lastAttempt": "2024-12-30T13:42:30.619Z",
  "error": {
    "message": "Connection timeout",
    "stack": "Error: Connection timeout\n    at http://10.150.10.9:5173/assets/index-DI-h_ADC.js:635:6991\n    at lo (http://10.150.10.9:5173/assets/components-6Yp278Dk.js:40:24250)\n    at fr (http://10.150.10.9:5173/assets/components-6Yp278Dk.js:40:42274)\n    at Iv (http://10.150.10.9:5173/assets/components-6Yp278Dk.js:40:41125)\n    at Pn (http://10.150.10.9:5173/assets/components-6Yp278Dk.js:40:40178)\n    at _c (http://10.150.10.9:5173/assets/components-6Yp278Dk.js:40:36800)\n    at wn (http://10.150.10.9:5173/assets/components-6Yp278Dk.js:38:3274)\n    at http://10.150.10.9:5173/assets/components-6Yp278Dk.js:40:34187"
  }
}

[INFO] 2024-12-30T13:42:30.618Z - Application initialized
Details: {
  "environment": "production"
}

[DEBUG] 2024-12-30T13:42:30.618Z - System configuration loaded
Details: {
  "runtime": "Next.js",
  "features": [
    "AI Chat",
    "Event Logging"
  ]
}

[WARNING] 2024-12-30T13:41:10.104Z - Resource usage threshold approaching
Details: {
  "memoryUsage": "75%",
  "cpuLoad": "60%"
}

[ERROR] 2024-12-30T13:41:10.104Z - API connection failed
Details: {
  "endpoint": "/api/chat",
  "retryCount": 3,
  "lastAttempt": "2024-12-30T13:41:10.104Z",
  "error": {
    "message": "Connection timeout",
    "stack": "Error: Connection timeout\n    at http://10.150.10.9:5173/assets/index-DI-h_ADC.js:635:6991\n    at lo (http://10.150.10.9:5173/assets/components-6Yp278Dk.js:40:24250)\n    at fr (http://10.150.10.9:5173/assets/components-6Yp278Dk.js:40:42274)\n    at Iv (http://10.150.10.9:5173/assets/components-6Yp278Dk.js:40:41125)\n    at Pn (http://10.150.10.9:5173/assets/components-6Yp278Dk.js:40:40178)\n    at _c (http://10.150.10.9:5173/assets/components-6Yp278Dk.js:40:36800)\n    at wn (http://10.150.10.9:5173/assets/components-6Yp278Dk.js:38:3274)\n    at http://10.150.10.9:5173/assets/components-6Yp278Dk.js:40:34187"
  }
}

[INFO] 2024-12-30T13:41:10.103Z - Application initialized
Details: {
  "environment": "production"
}

[DEBUG] 2024-12-30T13:41:10.103Z - System configuration loaded
Details: {
  "runtime": "Next.js",
  "features": [
    "AI Chat",
    "Event Logging"
  ]
}

[INFO] 2024-12-30T13:40:11.225Z - Provider xAI disabled
Details: {
  "provider": "xAI"
}

[INFO] 2024-12-30T13:40:10.500Z - Provider Together disabled
Details: {
  "provider": "Together"
}

[INFO] 2024-12-30T13:40:09.823Z - Provider Perplexity disabled
Details: {
  "provider": "Perplexity"
}

[INFO] 2024-12-30T13:40:08.984Z - Provider OpenRouter disabled
Details: {
  "provider": "OpenRouter"
}

[INFO] 2024-12-30T13:40:08.392Z - Provider OpenAILike disabled
Details: {
  "provider": "OpenAILike"
}

[INFO] 2024-12-30T13:40:07.008Z - Provider OpenAI disabled
Details: {
  "provider": "OpenAI"
}

[INFO] 2024-12-30T13:40:05.632Z - Provider Mistral disabled
Details: {
  "provider": "Mistral"
}

[INFO] 2024-12-30T13:40:04.492Z - Provider LMStudio disabled
Details: {
  "provider": "LMStudio"
}

[INFO] 2024-12-30T13:40:02.664Z - Provider HuggingFace disabled
Details: {
  "provider": "HuggingFace"
}

[INFO] 2024-12-30T13:40:01.207Z - Provider Groq disabled
Details: {
  "provider": "Groq"
}

[INFO] 2024-12-30T13:40:00.492Z - Provider Google disabled
Details: {
  "provider": "Google"
}

[INFO] 2024-12-30T13:39:57.556Z - Provider Deepseek disabled
Details: {
  "provider": "Deepseek"
}

[INFO] 2024-12-30T13:39:56.792Z - Provider Cohere disabled
Details: {
  "provider": "Cohere"
}

[INFO] 2024-12-30T13:39:55.966Z - Provider Anthropic disabled
Details: {
  "provider": "Anthropic"
}

[INFO] 2024-12-30T13:39:46.455Z - Application initialized
Details: {
  "environment": "production"
}

[DEBUG] 2024-12-30T13:39:46.455Z - System configuration loaded
Details: {
  "runtime": "Next.js",
  "features": [
    "AI Chat",
    "Event Logging"
  ]
}

[WARNING] 2024-12-30T13:39:46.455Z - Resource usage threshold approaching
Details: {
  "memoryUsage": "75%",
  "cpuLoad": "60%"
}

[ERROR] 2024-12-30T13:39:46.455Z - API connection failed
Details: {
  "endpoint": "/api/chat",
  "retryCount": 3,
  "lastAttempt": "2024-12-30T13:39:46.455Z",
  "error": {
    "message": "Connection timeout",
    "stack": "Error: Connection timeout\n    at http://10.150.10.9:5173/assets/index-DI-h_ADC.js:635:6991\n    at lo (http://10.150.10.9:5173/assets/components-6Yp278Dk.js:40:24250)\n    at fr (http://10.150.10.9:5173/assets/components-6Yp278Dk.js:40:42274)\n    at Iv (http://10.150.10.9:5173/assets/components-6Yp278Dk.js:40:41125)\n    at Pn (http://10.150.10.9:5173/assets/components-6Yp278Dk.js:40:40178)\n    at _c (http://10.150.10.9:5173/assets/components-6Yp278Dk.js:40:36800)\n    at wn (http://10.150.10.9:5173/assets/components-6Yp278Dk.js:38:3274)\n    at http://10.150.10.9:5173/assets/components-6Yp278Dk.js:40:34187"
  }
}