7 Commits

Author SHA1 Message Date
panghufattiger996-maker
3fbd73460b fix(imagegen): restrict DashScope 4K output to wan2.7-image-pro (#2425) 2026-11-06 02:04:53 +08:00
wumajiehechuan-lab
e9655d579a fix(media): use the real DashScope image/video submit endpoints
Both native DashScope media adapters post to a path that is missing its last
segment, so every generate request falls through to a generic async route and
is rejected before the model ever runs:

    400 InvalidParameter: task can not be null

- image: `services/aigc/image-synthesis` -> `services/aigc/text2image/image-synthesis`
- video: `services/aigc/video-generation` -> `services/aigc/video-generation/video-synthesis`

Verified against the live endpoint with the real adapters: the old paths answer
`task can not be null`, the new ones return a `task_id` (the image task was
polled to SUCCEEDED and produced a result URL; the video probe task failed on an
intentionally invalid `size`, so no render was charged).

Update the two URL assertions in `tests/services/test_media_gen.py` accordingly.

Note: `wan2.6-t2i` uses a different route
(`services/aigc/image-generation/generation`) *and* a `messages` body, so it is
out of scope here.
2026-09-22 23:02:31 -07:00
Bingxi Zhao (Frank)
ab0267ed79 follow-up to #1353: drop the unreachable last_404 branch
`modalities_attempts` is never empty, so `resp` is always bound when the
loop ends — the second refusal stays in it. `last_404`, the `resp is None`
guard and the `assert` were three ways of restating that, and an `assert`
in a request path disappears under `python -O`.

(cherry picked from commit f2dfe4550d52c80d5bee1502a281eafcfaa491d4)
2026-09-10 23:55:18 +08:00
evan188199-tech
c8e33e757e fix(imagegen): retry with image-only modalities when both are unsupported (#1353)
Co-authored-by: XZH <cto@xzh.ai>
2026-09-10 23:42:15 +08:00
Bingxi Zhao (Frank)
04040a2c06 release: v1.6.5
Ship a content workspace you choose, one exec tool for every language,
Mastery Path modes that gate its tools, and Settings that grades
readiness instead of listing faults.

Release notes: assets/releases/ver1-6-5.md
2026-09-06 13:46:29 +08:00
XZH
d9538192d2 feat(media): add DashScope providers (#1016) 2026-08-27 10:25:41 -07:00
Bingxi Zhao (Frank)
c9d387e2b6 super super great great update 2026-06-17 00:56:27 +08:00