Skip to content

fix: correct bool value for watermark - #2103

Merged
creamlike1024 merged 1 commit into
QuantumNous:mainfrom
feitianbubu:pr/doubao-image-watermark
Oct 25, 2025
Merged

creamlike1024 merged 1 commit into
QuantumNous:mainfrom
feitianbubu:pr/doubao-image-watermark

Conversation

@feitianbubu

@feitianbubu feitianbubu commented Oct 25, 2025 •

Copy link
Copy Markdown
Member

修复豆包水印设置不生效的问题
https://www.volcengine.com/docs/82379/1541523
image

Summary by CodeRabbit

  • Bug Fixes
    • Fixed watermark parameter handling in OpenAI image edit requests to respect the parameter's actual value rather than applying it whenever the field is present.

@coderabbitai

coderabbitai Bot commented Oct 25, 2025

Copy link
Copy Markdown
Contributor

Note

Currently processing new changes in this PR. This may take a few minutes, please wait...

📥 Commits

Reviewing files that changed from the base of the PR and between 032f159 and 471fd3a.

📒 Files selected for processing (1)
  • relay/helper/valid_request.go (1 hunks)
 ______________________________________________________________
< Ad Astra Per Codicem Fixis. To the stars through code fixes. >
 --------------------------------------------------------------
  \
   \   \
        \ /\
        ( )
      .( o ).

Tip

You can make CodeRabbit's review stricter and more nitpicky using the `assertive` profile, if that's what you prefer.

Change the reviews.profile setting in your project's settings in CodeRabbit to assertive to make CodeRabbit's nitpick more issues in your PRs.

✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@creamlike1024
creamlike1024 merged commit cb3537f into QuantumNous:main Oct 25, 2025
ennnnny pushed a commit to ennnnny/new-api that referenced this pull request Mar 17, 2026
…watermark

fix: correct bool value for watermark
salem-2007 added a commit to salem-2007/new-api that referenced this pull request Sep 10, 2026
…watermark

fix: correct bool value for watermark
junjundesk pushed a commit to junjundesk/new-api that referenced this pull request Oct 3, 2026
…watermark

fix: correct bool value for watermark
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.

2 participants