Commit 243ebf1
committed
fix(ai-openrouter): rebase video adapter onto main and use SDK getVideoContent
Rebase #740 onto current main (rerank, BytePlus, Grok video, Omni Flash)
and finish the leftover wiring:
- Download completed clips via @openrouter/sdk 0.13.20 getVideoContent
(it now accepts video/mp4) instead of the unsigned-URL fetch bypass
- Keep the example on the streaming generateVideoFn path and add an
OpenRouter provider group in ts-react-media
- Merge OpenRouter into the current video/image docs and skill without
dropping newer providers; kiira snippet uses the typed byteplus key
- Drop the generateVideo duration-constraint changeset (already on main)1 parent b57d4e1 commit 243ebf1
15 files changed
Lines changed: 2068 additions & 2075 deletions
File tree
- .changeset
- docs
- adapters
- media
- examples/ts-react-media/src
- components
- lib
- packages
- ai-openrouter
- src
- adapters
- video
- tests
- ai/skills/ai-core/media-generation
- testing/e2e/src/lib
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
| 70 | + | |
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | | - | |
| 76 | + | |
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
114 | | - | |
115 | | - | |
116 | 114 | | |
117 | 115 | | |
118 | 116 | | |
| |||
181 | 179 | | |
182 | 180 | | |
183 | 181 | | |
184 | | - | |
185 | | - | |
186 | | - | |
187 | | - | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
188 | 186 | | |
189 | 187 | | |
190 | 188 | | |
| |||
450 | 448 | | |
451 | 449 | | |
452 | 450 | | |
453 | | - | |
Large diffs are not rendered by default.
Large diffs are not rendered by default.
0 commit comments