Commit ef805c3
committed
chore(scripts): let jawcode metadata carry video input
MiniMax-M3 accepts video, and the jawcode source now says so (jawcode 762549f),
so widen the generator's input-modality type and the type it emits from
("text" | "image")[] to ("text" | "image" | "video")[].
Type-only. RawModel.input is consumed via input.join(","), the row field is
string | null, and rowToMetadata casts unchecked — so tsc passes either way.
This keeps the declared type honest rather than fixing a compile error.
src/generated/jawcode-model-metadata.ts is deliberately NOT regenerated here.
That file is already 95 models / 63 price rows out of sync with its source, so a
regeneration would sweep unrelated price changes into cost accounting alongside
one modality fix. The resync is its own unit of work, with the delta reviewed on
its own merits and a drift guard added; the M3 video row lands there as a clean
one-row delta.
Reported as lidge-jun#706, which proposed the same type widening but hand-edited the
generated file and also swapped MiniMax's discounted rates for list prices.1 parent 275345a commit ef805c3
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
| 63 | + | |
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| |||
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
139 | | - | |
| 139 | + | |
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
| |||
0 commit comments