* feat(#441): add profile cloning and description editing * feat(#441): add profile builder wizard and API enhancements Introduce 5-step Profile Builder wizard into ProfilesScreen and add support for create/clone endpoints. * fix(#441): restore imports and add ProfileInfo constructor defaults * style: run ktlint format on codebase to fix styling errors * fix(#441): address PR review comments including provider slug bug, validation, and strings * fix(#441): remove unused McpServerConfigInput import --------- Co-authored-by: Hermes Agent <hermes@agent.local>
This commit is contained in:
1 parent
846a9380e2
commit
d181851670
37 files changed
+2299
-448
No files matched your search
@@ -67,7 +67,10 @@ class ModelViewModelTest {
|
||||
@Test
|
||||
fun `init with empty pinned models`() {
|
||||
val viewModel = createViewModel()
|
||||
assertTrue(viewModel.uiState.value.pinnedModels.isEmpty())
|
||||
assertTrue(
|
||||
viewModel.uiState.value.pinnedModels
|
||||
.isEmpty(),
|
||||
)
|
||||
}
|
||||
|
||||
@Test
|
||||
@@ -178,7 +181,10 @@ class ModelViewModelTest {
|
||||
|
||||
viewModel.unpinModel("openai", "gpt-4")
|
||||
testDispatcher.scheduler.advanceUntilIdle()
|
||||
assertTrue(viewModel.uiState.value.pinnedModels.isEmpty())
|
||||
assertTrue(
|
||||
viewModel.uiState.value.pinnedModels
|
||||
.isEmpty(),
|
||||
)
|
||||
|
||||
// Re-pin same model after unpin
|
||||
viewModel.pinModel("openai", "gpt-4")
|
||||
|
||||
Reference in new issue
Block a user