Skip to content

chore(upstream-sync): 2026-04-29 pull from router-for-me/CLIProxyAPI#2

Merged
leic4u merged 3 commits into
mainfrom
upstream-sync/20260429-1956
Apr 30, 2026
Merged

chore(upstream-sync): 2026-04-29 pull from router-for-me/CLIProxyAPI#2
leic4u merged 3 commits into
mainfrom
upstream-sync/20260429-1956

Conversation

@github-actions
Copy link
Copy Markdown

Upstream sync: router-for-me/CLIProxyAPImain

Commits being synced: 359ec30d0c5674659d9d73080de378f9a7417c4a..e3e60f914ba82a6caa7a17a717f65a3b2f02285f

Gate status

  • [!] go test FAILED

What to do

  1. Review the diff — especially cmd/server/main.go, go.mod, go.sum.
  2. Plus-only provider dirs are protected by .gitattributes merge=ours.
  3. Re-run failing gates locally: go build ./... && go test ./....
  4. Merge when green.

luispater and others added 3 commits April 30, 2026 03:42
- Added `disable-image-generation` configuration flag to disable the `image_generation` tool globally.
- Updated payload handling to remove `image_generation` tools from request payload arrays when the flag is enabled.
- Modified OpenAI image handlers (`ImagesGenerations`, `ImagesEdits`) to return 404 when the feature is disabled.
- Enhanced configuration diff logging to track changes for the `disable-image-generation` flag.
- Added accompanying unit tests for the new feature in payload helpers and image handler logic.
@leic4u leic4u merged commit afc975a into main Apr 30, 2026
@leic4u leic4u deleted the upstream-sync/20260429-1956 branch April 30, 2026 17:57
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