Commit f73046f
docs(kiira): fix post-rebase Grok drift + drop migration as-casts
After rebasing onto main (which rewrote the Grok adapter to the Responses
API), kiira surfaced drift the previous Grok model ids hid:
- cloudflare community adapter: createGrokChat("grok-4") -> "grok-4.3"
(grok-4 no longer exists in @cloudflare/tanstack-ai's model union).
- grok summarize snippet: grokSummarize() is not assignable to summarize()'s
adapter param for any current Grok model (GrokTextProviderOptions sits in a
contravariant position via SummarizeAdapter.summarize). Marked the fence
`ignore` referencing #821 until the adapter type is corrected.
- migration-from-vercel-ai dynamic-switching examples: declare
selectedProvider with a `keyof typeof` union instead of importing it from
an unresolved ./config and casting with `as keyof typeof` (drops the
type-assertion casts per the docs convention; snippets stay type-safe).
Kiira: 660 snippets pass, 0 fail, 150 ignored.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 35be9c5 commit f73046f
3 files changed
Lines changed: 14 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
145 | | - | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
146 | 151 | | |
147 | 152 | | |
148 | 153 | | |
149 | 154 | | |
150 | | - | |
| 155 | + | |
151 | 156 | | |
152 | 157 | | |
153 | 158 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
218 | 218 | | |
219 | 219 | | |
220 | 220 | | |
221 | | - | |
| 221 | + | |
222 | 222 | | |
223 | 223 | | |
224 | 224 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1291 | 1291 | | |
1292 | 1292 | | |
1293 | 1293 | | |
1294 | | - | |
1295 | 1294 | | |
1296 | 1295 | | |
1297 | 1296 | | |
| |||
1300 | 1299 | | |
1301 | 1300 | | |
1302 | 1301 | | |
| 1302 | + | |
| 1303 | + | |
1303 | 1304 | | |
1304 | | - | |
| 1305 | + | |
1305 | 1306 | | |
1306 | 1307 | | |
1307 | 1308 | | |
| |||
1312 | 1313 | | |
1313 | 1314 | | |
1314 | 1315 | | |
1315 | | - | |
1316 | 1316 | | |
1317 | 1317 | | |
1318 | 1318 | | |
| |||
1321 | 1321 | | |
1322 | 1322 | | |
1323 | 1323 | | |
| 1324 | + | |
| 1325 | + | |
1324 | 1326 | | |
1325 | | - | |
| 1327 | + | |
1326 | 1328 | | |
1327 | 1329 | | |
1328 | 1330 | | |
| |||
0 commit comments