Add AJAX support to optimize_models endpoint and add CLAUDE.md
- Added jsonify import to admin.py
- optimize_models now returns JSON for AJAX requests (X-Requested-With header)
- Returns structured {status, message} response for success and error cases
- Added CLAUDE.md project configuration file
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
9
CLAUDE.md
Normal file
9
CLAUDE.md
Normal file
@@ -0,0 +1,9 @@
|
||||
# Claude Custom Instructions
|
||||
|
||||
## Git Workflow
|
||||
Every time you complete a task or make changes to files, you MUST automatically commit those changes to Git before waiting for the user's next prompt.
|
||||
|
||||
### Instructions:
|
||||
1. Always run `git add .` to stage your changes.
|
||||
2. Run `git commit -m "Auto-commit: [brief description of what was changed]"`
|
||||
3. Do not ask for permission to commit, just perform the git commit automatically.
|
||||
Reference in New Issue
Block a user