{{ message }}
Repository navigation
skip file selection if there is only 1 image. - #1180
Merged
Merged
Conversation
Contributor
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 |
||||||||||||||||||
Contributor
PR Code Suggestions ✨Explore these optional code suggestions: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

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