Skip to content

bug: Schedule model clear does not null out value #110

Description

@vybe

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions