-
-
Notifications
You must be signed in to change notification settings - Fork 580
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-1
togpt-image-1-mini
Change LLM model from
gpt-4o-mini
togpt-5-mini
Fix template name typo in file selection
Diagram Walkthrough
File Walkthrough
FileInstructService.Image.cs
Update image processing model defaults
src/Infrastructure/BotSharp.Core/Files/Services/Instruct/FileInstructService.Image.cs
gpt-image-1
togpt-image-1-mini
in threeimage processing methods
EditImage (with mask) methods
CompletionProvider.cs
Update completion provider model default
src/Infrastructure/BotSharp.Core/Infrastructures/CompletionProvider.cs
gpt-image-1
togpt-image-1-mini
EditImageFn.cs
Update edit image function models
src/Plugins/BotSharp.Plugin.FileHandler/Functions/EditImageFn.cs
gpt-4o-mini
togpt-5-mini
in agentconfiguration
gpt-image-1
togpt-image-1-mini
in providersettings
GenerateImageFn.cs
Update generate image function models
src/Plugins/BotSharp.Plugin.FileHandler/Functions/GenerateImageFn.cs
gpt-4o-mini
togpt-5-mini
in agentconfiguration
gpt-image-1
togpt-image-1-mini
in providersettings
FileInstructService.SelectFile.cs
Skip selection for single files
src/Infrastructure/BotSharp.Core/Files/Services/Instruct/FileInstructService.SelectFile.cs
select_chat_file_instruction
toselect-chat-file_instruction
AiResponseHelper.cs
Improve response helper text and model
src/Plugins/BotSharp.Plugin.FileHandler/Helpers/AiResponseHelper.cs
gpt-4o-mini
togpt-5-mini