feat: add Ollama to verified sources (Gitea repo + manifest + build from source)

This commit is contained in:
M5Max128
2026-05-22 17:20:14 +08:00
parent c09268f3d3
commit 3ccdf403b6
3 changed files with 31 additions and 10 deletions

View File

@@ -9,11 +9,22 @@
| Item | Value |
|------|-------|
| Binary | `/opt/homebrew/bin/ollama` |
| Version | 0.23.1 |
| Installation | Homebrew (`brew install ollama`) |
| Source repo | `admin/ollama` (Gitea) |
| Source path | `release/system/v1.0/services/src/ollama/` |
| Git commit | `417b943d` (main branch) |
| Binary | `/Users/accusys/momentry_resources/bin/ollama` |
| Source build | ✅ Built from Gitea source with verified Go 1.26.3 |
| Port | 11434 |
| Current models | `nomic-embed-text-v2-moe`, `bge-m3`, `mxbai-embed-large` |
| Current models | `gemma4:e4b` (text + vision) |
## Source Build
```bash
# Build command (source → binary)
export PATH="$GOROOT/bin:$PATH"
cd /Users/accusys/momentry_core/release/system/v1.0/services/src/ollama
go build -o /Users/accusys/momentry_resources/bin/ollama .
```
## Verification
@@ -22,12 +33,15 @@
| Binary exists | ✅ |
| API responding (`/api/tags`) | ✅ |
| Port 11434 | ✅ Listening |
| Text inference | ✅ |
| Vision inference (image input) | ✅ |
| Audio inference | ❌ Not supported by Ollama API yet |
## Notes
- Ollama is still managed via Homebrew (not source build)
- Source migration tracked in `Brew_To_Source_Migration.md`
- Used for PaliGemma2/Gemma3 vision models (if pulled)
- Ollama built from Gitea-verified source (was Homebrew-managed before)
- Source migration complete: GitHub → Gitea admin/ollama
- Used for Gemma 4 E4B (text + vision)
---