feat: integrate local LLM API (homelab-frontend) + Pi skills
ci / test (push) Successful in 1m14s

Replace Anthropic client with OpenAI-compatible client targeting https://api.riotpiao.com.
Configure models: reasoning (Planner/Judge), ornith:35b (Implementer).
Add health check on startup.
Add Pi provider support for skill preparation (--pi-provider=local-llm).

Files changed:
- action/llm/client.go: OpenAI-compatible HTTP client + HealthCheck()
- action/llm/client_test.go: Unit tests for model validation & health
- cmd/starter/main.go: Health check before workflow, local model defaults
- statemachine/types.go: PiProvider field for OrchestratorInput

Models:
- Planner: reasoning (smart decisions)
- Judge: reasoning (quality review)
- Implementer: ornith:35b (cheap execution)

Skills: pi clone-or-fetch --provider=local-llm with 504 timeout learning.

Verification: go build ./cmd/starter ./cmd/worker ./action/llm ✓
Tests: go test -v ./action/llm ✓ (all passing)
This commit is contained in:
Test
2026-08-26 14:54:34 -07:00
parent c7fcd3c6f9
commit 121cad1ad5
6 changed files with 274 additions and 30 deletions
+1
View File
@@ -57,6 +57,7 @@ type OrchestratorInput struct {
DryRun bool
CycleCount int
MaxCyclesBeforeCAN int // default: 100
PiProvider string // pi provider name (e.g., "local-llm"); required for skill preparation
}
// OrchestratorOutput is the output of the Orchestrator workflow.