-
-
Notifications
You must be signed in to change notification settings - Fork 603
optimize ResponseFormat #1277
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: master
Are you sure you want to change the base?
optimize ResponseFormat #1277
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:
|
|||||||||
Co-authored-by: adenchen123 <[email protected]> Co-authored-by: Aden <[email protected]> Co-authored-by: Jicheng Lu <[email protected]> Co-authored-by: iceljc <[email protected]> Co-authored-by: Jack <[email protected]> Co-authored-by: jackjiang-sms <[email protected]>
PR Type
Enhancement
Description
Optimize null-coalescing assignment operator usage
Pass ResponseFormat parameter to Execute method
Improve code consistency and API completeness
Diagram Walkthrough
File Walkthrough
InstructService.Execute.cs
Simplify null-coalescing assignment operatorsrc/Infrastructure/BotSharp.Core/Instructs/Services/InstructService.Execute.cs
assignment operator (
??=)InstructModeController.cs
Add ResponseFormat parameter to Execute callsrc/Infrastructure/BotSharp.OpenAPI/Controllers/Instruct/InstructModeController.cs
responseFormatparameter to theExecutemethod callinput.ResponseFormatfrom the request to the instructor service