Context
The 7-step wizard's Deploy tab (step 7) calls several API endpoints that were added in the recent wizard implementation. These endpoints exist in app/api.py but have no test coverage in tests/.
Uncovered endpoints
| Endpoint |
Method |
Purpose |
/api/jobs/{id}/merge |
POST |
Merge adapter into base model |
/api/jobs/{id}/export-gguf |
GET |
Convert merged model to GGUF |
/api/jobs/{id}/push-github |
POST |
Push adapter to GitHub repo |
/api/jobs/{id}/push-hub |
POST |
Push adapter to HF Hub |
/api/jobs/{id}/commentary |
GET |
Generate training summary commentary |
/api/jobs/{id}/eval |
POST |
Run evaluation on fine-tuned model |
/api/jobs/{id}/infer |
POST |
Run inference for test-chat |
Tasks
Reference
Existing patterns in tests/test_api.py and tests/test_workers.py.
Context
The 7-step wizard's Deploy tab (step 7) calls several API endpoints that were added in the recent wizard implementation. These endpoints exist in
app/api.pybut have no test coverage intests/.Uncovered endpoints
/api/jobs/{id}/merge/api/jobs/{id}/export-gguf/api/jobs/{id}/push-github/api/jobs/{id}/push-hub/api/jobs/{id}/commentary/api/jobs/{id}/eval/api/jobs/{id}/inferTasks
tests/test_api.pypytest-mock/unittest.mock)Reference
Existing patterns in
tests/test_api.pyandtests/test_workers.py.