Copy of the legacy ~/.pi/agent/docs tree rebuilt as the command-center knowledge base: concept files promoted to path identity, index listings stripped of frontmatter, all wikilinks/relative links resolved, every checkable claim verified against the live fleet (Dankserver = Ryzen 7 7700X + RTX 3090; Strix Halo is Dankclaw), unverifiable claims tagged. kb-lint exits 0.
56 lines
1.4 KiB
Markdown
56 lines
1.4 KiB
Markdown
---
|
|
type: howto
|
|
title: Pi Configuration for Ornith Models
|
|
description: How to add Ornith models to models.json so pi can use the local llama.cpp server as a provider.
|
|
tags:
|
|
- unverified
|
|
- ornith
|
|
- pi
|
|
- models.json
|
|
- configuration
|
|
timestamp: 2026-07-18
|
|
verified: 2026-08-28
|
|
---
|
|
|
|
# Pi Configuration
|
|
|
|
Add to `~/.pi/agent/models.json`:
|
|
|
|
```json
|
|
{
|
|
"providers": {
|
|
"llamacpp (local-ornith)": {
|
|
"baseUrl": "http://localhost:8080/v1",
|
|
"api": "openai-completions",
|
|
"apiKey": "EMPTY",
|
|
"compat": {
|
|
"supportsDeveloperRole": false,
|
|
"supportsReasoningEffort": false
|
|
},
|
|
"models": [
|
|
{
|
|
"id": "frank-default-local",
|
|
"name": "Ornith-1.0-35B-Q4_K_M (Local)",
|
|
"contextWindow": 131072,
|
|
"reasoning": true,
|
|
"thinkingLevelMap": {
|
|
"max": "xhigh"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
```
|
|
|
|
**Important Compatibility Settings:**
|
|
|
|
- `supportsDeveloperRole: false` — The server does not support the `developer` role, uses `system` instead
|
|
- `supportsReasoningEffort: false` — The server does not support the `reasoning_effort` parameter
|
|
- `reasoning: true` — Model supports reasoning/thinking blocks
|
|
|
|
## Related
|
|
|
|
* [Installation](/tools/ornith-llama-cpp-setup/installation.md) — Get the server running first
|
|
* [API Endpoints](/tools/ornith-llama-cpp-setup/api-endpoints.md) — The endpoints this configuration targets
|