feat: add Ollama (local AI) integration for AIUI

- Create Ollama provider plugin in AIUI (ollama-provider.ts)
- Register Ollama alongside Claude in plugin system
- Auto-detect installed models via /api/tags endpoint
- Add Ollama proxy in mock backend (forwards to localhost:11434)
- Add nginx proxy rules for /aiui/api/ollama/ (both HTTP and HTTPS)
- Rebuild AIUI dist with Ollama provider included
- Qwen 2.5 Coder 3B installed on dev server via Ollama

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Dorian
2026-03-08 01:48:23 +00:00
parent 00ad7a42f5
commit 825d082003
82 changed files with 246 additions and 135 deletions

View File

@@ -14,7 +14,7 @@
<link rel="icon" href="/aiui/favicon.svg" type="image/svg+xml" />
<link rel="apple-touch-icon" href="/aiui/apple-touch-icon-180x180.png" />
<title>AIUI</title>
<script type="module" crossorigin src="/aiui/assets/index-iNX5cLRF.js"></script>
<script type="module" crossorigin src="/aiui/assets/index-BD9qoze1.js"></script>
<link rel="stylesheet" crossorigin href="/aiui/assets/index-BNvE9-tw.css">
<link rel="manifest" href="/aiui/manifest.webmanifest"><script id="vite-plugin-pwa:register-sw" src="/aiui/registerSW.js"></script></head>
<body class="antialiased h-full overflow-hidden fixed w-full">