mirror of
https://github.com/earendil-works/pi.git
synced 2026-06-18 15:54:04 +08:00
c8b8f043a7
Model definitions now only require 'id'. All other fields have sensible
defaults for local models (Ollama, LM Studio, etc.):
- name: defaults to id
- reasoning: defaults to false
- input: defaults to ["text"]
- cost: defaults to {input: 0, output: 0, cacheRead: 0, cacheWrite: 0}
- contextWindow: defaults to 128000
- maxTokens: defaults to 16384
Existing configs that specify all fields continue to work unchanged.
Fixes #1146
c8b8f043a7
ยท
2026-02-01 17:49:19 +01:00
History