Commit 8913414
committed
fix(opencode-go): omit price from fallback model info
ModelInfoView renders a 0 price field as "$0.00 / 1M tokens", implying the
service is free. Drop inputPrice/outputPrice from the fallback so it stays
unknown until the live /v1/models list resolves, matching the fetched models
which leave price fields absent. Addresses PR #319 review (edelauna, navedmerchant).1 parent 4a4d662 commit 8913414
1 file changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | | - | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| |||
0 commit comments