-
-
Notifications
You must be signed in to change notification settings - Fork 582
instruct log optimize #1191
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
instruct log optimize #1191
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:
|
Reviewed |
User description
PR Type
Enhancement
Description
Add
LogId
field to instruction response modelsImplement API endpoint to update instruction log states
Integrate log ID generation and tracking in instruction execution
Add MongoDB repository support for updating instruction log states
Diagram Walkthrough
File Walkthrough
11 files
Add LogId property to response model
Add LogId property with JSON serialization
Add UpdateInstructionLogStates method to interface
Add UpdateInstructionLogStates repository method
Create new model for updating log states
Generate and assign LogId during instruction execution
Implement UpdateInstructionLogStates service method with validation
Include LogId when saving instruction logs
Add POST endpoint for updating log states
Map LogId field in MongoDB document model
Implement MongoDB update logic for instruction log states