-
Notifications
You must be signed in to change notification settings - Fork 0
[CORRUPTED] Synthetic Benchmark PR #36195 - DEV: Make persona image tools platform agnostic #2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: base_pr_36195_20251204_6976
Are you sure you want to change the base?
[CORRUPTED] Synthetic Benchmark PR #36195 - DEV: Make persona image tools platform agnostic #2
Conversation
## 🔍 Overview This update updates existing persona tools: `Image`, `CreateImage`, and `EditImage` to make use of the new AI image generation tooling added in discourse@ce2e278 . It also updates the image generation tool scripts to support editing images on providers that support it. Now that the persona tools are platform agnostic, the update also deprecates any irrelevant OpenAI or Stability Generation related code. ## 📹 Preview
PR Compliance Guide 🔍Below is a summary of compliance checks for this PR:
Compliance status legend🟢 - Fully Compliant🟡 - Partial Compliant 🔴 - Not Compliant ⚪ - Requires Further Human Verification 🏷️ - Compliance label |
||||||||||||||||||||||||||||||||
PR Code Suggestions ✨Explore these optional code suggestions:
|
||||||||||||||
User description
Benchmark PR discourse#36195
Type: Corrupted (contains bugs)
Original PR Title: DEV: Make persona image tools platform agnostic
Original PR Description: ## 🔍 Overview
This update updates existing persona tools:
Image,CreateImage, andEditImageto make use of the new AI image generation tooling added in discourse@ce2e278 . It also updates the image generation tool scripts to support editing images on providers that support it.📹 Preview
preview-gemini.mov
Original PR URL: discourse#36195
PR Type
Enhancement, Bug fix
Description
Migrate image generation tools to platform-agnostic custom tool system
Remove deprecated OpenAI and Stability image generation code
Add FLUX 2 Pro support via Black Forest Labs API
Update image editing to support multiple providers
Deprecate old image generation settings and personas
Diagram Walkthrough
File Walkthrough
14 files
Add FLUX 2 Pro preset and update FLUX namingUpdate Artist persona for custom image toolsUpdate Designer persona for custom image toolsConditionally include image tools based on configurationRemove DallE3 from system personas and update tool availabilityRefactor to use custom image generation toolsRefactor to use custom tools with permission checksRefactor to delegate to custom image generation toolsAdd method to retrieve available custom image toolsAdd FLUX 2 Pro image generation and editing scriptAdd FLUX 1.1 Pro generation and editing scriptAdd image editing support to Gemini scriptAdd image editing support to OpenAI scriptUpdate FLUX naming and add FLUX 2 Pro label5 files
Remove deprecated OpenAI image generator classRemove deprecated Stability image generator classRemove deprecated DALL-E 3 persona classRemove deprecated DALL-E tool classRemove old FLUX script file7 files
Remove deprecated DALL-E bot test casesUpdate persona tests for custom tool systemRewrite tests to use custom image generation toolsRemove deprecated DALL-E tool test fileRewrite tests for custom image editing toolsRewrite tests to use custom image generation toolsRemove deprecated Stability generator test file1 files
Document upload.getBase64 for image editing support1 files
Deprecate old image generation settings