pi-mono/packages/coding-agent/src
Mario Zechner c8b8f043a7 fix(coding-agent): make models.json model fields optional with defaults
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
2026-02-01 17:49:19 +01:00
..
cli feat(ai): add PI_AI_ANTIGRAVITY_VERSION env var override 2026-02-01 09:32:10 +01:00
core fix(coding-agent): make models.json model fields optional with defaults 2026-02-01 17:49:19 +01:00
modes Fix tree selector focus behavior (#1142) 2026-02-01 13:23:52 +01:00
utils fix(coding-agent): convert clipboard BMP images to PNG on paste 2026-01-31 23:24:10 +01:00
cli.ts Set coding agent CLI process title (#742) 2026-01-15 13:14:14 +01:00
config.ts feat(coding-agent): add PI_SHARE_VIEWER_URL env var for custom share viewer (#889) 2026-01-21 23:19:12 +01:00
index.ts fix(coding-agent): export discoverAndLoadExtensions from package 2026-02-01 17:47:01 +01:00
main.ts fix(coding-agent): improve thinking defaults in footer 2026-01-29 00:33:45 +01:00
migrations.ts chore: remove deprecation comment from getToolsDir, add changelog entry for #470 2026-01-05 20:26:48 +01:00