Files
magpie/internal
yetone 52a37b75f7 gateway: a Muse subscription draws with Muse Image on the Responses API (ljlwlcz on X)
magpie-muse-auth's accounts listed no image model, so Settings > Images and
generate_image could not use Muse. Meta's image generation page: POST
/v1/responses, model muse-image-1.0, the picture in image_generation_call.result.
The plugin signs /v1/responses only, so that is the path used; JSON and event
stream answers are both read. Video: Meta's API has no video generation.

UNTESTED against a real Muse account (none available); built from Meta's docs
and a fake plugin. Additive: a failure only affects the muse-image model.

Run at the pushed head (rebased on aebcfb93f): gofmt -l clean; GOOS=darwin and
GOOS=windows go vet ./internal/gateway clean (wsl-run); go test -run
'Draw|Muse|Image' ./internal/gateway ok, including TestMusePluginDraws (json
and stream). Broken by hand: before the draw dispatch was wired the test was red
(502 via the chat path). Not run: full suite, GUI tests, real Muse sign-in.
2026-11-11 16:54:06 +08:00
..
…
…
…
…
…
2026-11-11 08:14:28 +08:00
…
…
…