Home

mweinbach / agent-coworker

publicmweinbach/agent-coworker
Overview Code History Branches Pull requestsIssuesInsights
main
HomeOverview Code PRsIssues

fix(runtime): tolerate missing model pricing metadata

7 months ago

6f6d56e
Authored
mweinbach3/15/2026, 9:57:26 PM
- guard OpenAI Responses cost projection when models omit local pricing metadata

- patch the PI runtime path to avoid model.cost crashes while stripping placeholder zero-cost usage from persisted results

- add NVIDIA and projector regressions for providers without local pricing

Parent671177a

5 files changed
  • src/runtime/openaiResponsesProjector.ts+17−10
  • src/runtime/piRuntime.ts+35−2
  • tasks/lessons.md+1−0
  • test/runtime.openai-responses-projector.test.ts+101−0
  • test/runtime.pi-runtime.test.ts+62−0