-
Notifications
You must be signed in to change notification settings - Fork 0
[CLEAN] Synthetic Benchmark PR #36195 - DEV: Make persona image tools platform agnostic #1
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?
[CLEAN] Synthetic Benchmark PR #36195 - DEV: Make persona image tools platform agnostic #1
Conversation
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: Clean (correct implementation)
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 from provider-specific APIs to platform-agnostic custom tools
Remove deprecated OpenAI and Stability image generation implementations
Add support for FLUX 2 Pro and enhance existing tools with image editing capabilities
Update personas to use configurable custom image tools instead of hardcoded providers
Diagram Walkthrough
File Walkthrough
13 files
Add FLUX 2 Pro preset and update FLUX namingUpdate Artist persona to use custom image toolsUpdate Designer persona to use custom image toolsUpdate General persona to use custom image toolsRemove DallE3 from system personas, update tool availability logicRefactor to delegate to 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 new FLUX 2 Pro Black Forest Labs scriptAdd FLUX 1.1 Pro Together.ai script with editing supportAdd image editing support to Gemini scriptAdd image editing support to OpenAI script5 files
Remove deprecated OpenAI image generation implementationRemove deprecated Stability image generation implementationRemove deprecated DallE3 persona classRemove deprecated DallE tool implementationRemove deprecated FLUX Together.ai script7 files
Remove deprecated DallE bot test casesUpdate persona tests for custom tool availabilityRefactor tests to use custom image generation toolsRemove deprecated DallE tool test fileRefactor tests with permission checks and custom toolsRefactor tests to use custom image generation toolsRemove deprecated Stability generator test file2 files
Document upload.getBase64 for image editing supportUpdate FLUX naming and add FLUX 2 Pro localization1 files
Deprecate provider-specific image generation settings