Skip to content

fix(images): 隐藏对外错误提示中的渠道来源 - #121

Merged
ShourGG merged 1 commit into
mainfrom
fix/hide-seedream-provider-20261017
Oct 17, 2026
Merged

ShourGG merged 1 commit into
mainfrom
fix/hide-seedream-provider-20261017

Conversation

@ShourGG

@ShourGG ShourGG commented Oct 17, 2026 •

Copy link
Copy Markdown
Collaborator

Clients using image edits or multipart requests currently receive an error containing the WorkBuddy provider name. Replace both gateway-generated validation errors with a generic image-model message while retaining the required JSON endpoint and reference_images instructions.

Only two error strings change. Routing, request validation, image generation, billing and cache behavior are unchanged.

Validation:

  • git diff --check passed.
  • go test -tags unit ./internal/service -run ''^TestCompatibleImages.*WorkBuddy'' -count=1 passed (Windows/amd64).

@ShourGG
ShourGG merged commit 0fc086d into main Oct 17, 2026
18 checks passed
@ShourGG
ShourGG deleted the fix/hide-seedream-provider-20261017 branch October 17, 2026 15:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant