fix(bots): create clean profile without cloning default soul and custom skills (#997)
This commit is contained in:
2 files changed
+43
-12
No files matched your search
@@ -165,7 +165,15 @@ class BotsViewModelTest {
|
||||
advanceUntilIdle()
|
||||
|
||||
assertTrue(successCalled)
|
||||
coVerify(exactly = 1) { mockApi.createProfile(match { it.name == "researcher" }) }
|
||||
coVerify(exactly = 1) {
|
||||
mockApi.createProfile(
|
||||
match {
|
||||
it.name == "researcher" &&
|
||||
it.clone_from_default == false &&
|
||||
it.description == "Deep research agent"
|
||||
},
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
Reference in new issue
Block a user