- 
          
- 
                Notifications
    You must be signed in to change notification settings 
- Fork 582
skip file selection if there is only 1 image. #1180
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
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: 
 | |||||||||||||||||
PR Type
Enhancement
Description
Skip file selection when only one image exists
Update default model from
gpt-image-1togpt-image-1-miniChange LLM model from
gpt-4o-minitogpt-5-miniFix template name typo in file selection
Diagram Walkthrough
flowchart LR A["File Selection"] --> B{"Single Image?"} B -->|Yes| C["Skip Selection"] B -->|No| D["Run Selection Logic"] E["Model Updates"] --> F["gpt-image-1-mini"] E --> G["gpt-5-mini"]File Walkthrough
FileInstructService.Image.cs
Update image processing model defaultssrc/Infrastructure/BotSharp.Core/Files/Services/Instruct/FileInstructService.Image.cs
gpt-image-1togpt-image-1-miniin threeimage processing methods
EditImage (with mask) methods
CompletionProvider.cs
Update completion provider model defaultsrc/Infrastructure/BotSharp.Core/Infrastructures/CompletionProvider.cs
gpt-image-1togpt-image-1-miniEditImageFn.cs
Update edit image function modelssrc/Plugins/BotSharp.Plugin.FileHandler/Functions/EditImageFn.cs
gpt-4o-minitogpt-5-miniin agentconfiguration
gpt-image-1togpt-image-1-miniin providersettings
GenerateImageFn.cs
Update generate image function modelssrc/Plugins/BotSharp.Plugin.FileHandler/Functions/GenerateImageFn.cs
gpt-4o-minitogpt-5-miniin agentconfiguration
gpt-image-1togpt-image-1-miniin providersettings
FileInstructService.SelectFile.cs
Skip selection for single filessrc/Infrastructure/BotSharp.Core/Files/Services/Instruct/FileInstructService.SelectFile.cs
select_chat_file_instructiontoselect-chat-file_instructionAiResponseHelper.cs
Improve response helper text and modelsrc/Plugins/BotSharp.Plugin.FileHandler/Helpers/AiResponseHelper.cs
gpt-4o-minitogpt-5-mini