Files
Ncurator/tests/case/unit/model
hy 65e4a5fb7a feat: enhance workbench session mode management
- Added `disabledReason` property to `WorkbenchSelectOption` for tooltip display when options are disabled.
- Implemented session mode locking logic to prevent switching between AI and search modes based on session history.
- Updated `resolveSelectedWorkbenchModel` to handle cases where remote model lists are empty, allowing preset models to remain selectable.
- Introduced tests to validate session mode locking behavior and ensure correct handling of model selection under various conditions.
- Refactored existing tests to align with new mode naming conventions and added assertions for disabled states and tooltips.
2026-09-03 17:50:22 +08:00
..