Summary
When clearing a schedule's model field (setting to null/empty), the API returns the previous model value instead of null. The clear operation is not persisted.
Test Evidence
test_model_selection.py::TestScheduleModelUpdate::test_update_schedule_clear_model
AssertionError: assert ('claude-opus-4-6' is None or 'claude-opus-4-6' == '')
Expected Behavior
Sending model: null in a schedule update should set the model to NULL in the database and return null in the response.
Summary
When clearing a schedule's model field (setting to null/empty), the API returns the previous model value instead of null. The clear operation is not persisted.
Test Evidence
Expected Behavior
Sending
model: nullin a schedule update should set the model to NULL in the database and return null in the response.