fix(agents): update cacheControlTtl to cacheRetention for pi-ai 0.50.9

- Update @mariozechner/pi-ai and pi-agent-core to 0.50.9
- Rename cacheControlTtl to cacheRetention with values none/short/long
- Add backwards compatibility mapping: 5m->short, 1h->long
- Remove dead OpenRouter check (uses openai-completions API)
- Default new configs to cacheRetention: short
This commit is contained in:
Mario Zechner
2026-02-01 09:50:52 +01:00
parent 511b2c91e3
commit ba4a55f6d9
5 changed files with 65 additions and 38 deletions

View File

@@ -159,8 +159,8 @@
"@homebridge/ciao": "^1.3.4",
"@line/bot-sdk": "^10.6.0",
"@lydell/node-pty": "1.2.0-beta.3",
"@mariozechner/pi-agent-core": "0.50.7",
"@mariozechner/pi-ai": "0.50.7",
"@mariozechner/pi-agent-core": "0.50.9",
"@mariozechner/pi-ai": "0.50.9",
"@mariozechner/pi-coding-agent": "0.50.7",
"@mariozechner/pi-tui": "0.50.7",
"@mozilla/readability": "^0.6.0",