Skip to content

Missing /editor-model command - editor model cannot be changed during architect/editor mode #399

@chemtov

Description

@chemtov

Issue

The /editor-model command is missing from cecli, making it impossible to change the editor model when using architect/editor mode. While /model and /weak-model commands exist, there's no equivalent for the editor model.

Expected Behavior

Users should be able to change the editor model using /editor-model <model-name>, similar to how /weak-model works.

Current Behavior

  • /model command exists ✅
  • /weak-model command exists ✅
  • /editor-model command is missing ❌

Technical Context

The infrastructure already exists in the codebase:

  • editor_model_name and editor_edit_format attributes in ModelSettings class
  • get_editor_model() method in Model class
  • Editor model validation in sanity_check_models()

Root Cause

During the command refactoring (commit 82ba8977b) that decomposed commands.py into individual files, the /weak-model command was implemented (cecli/commands/weak_model.py) but /editor-model was not.

Implementation Notes

The missing command should follow the same pattern as WeakModelCommand in cecli/commands/weak_model.py, but modify editor_model_name instead of weak_model_name.

Version and model info

cecli v0.95.12.dev1
Relevant for all models using architect/editor mode

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions