refactor: remove retired agent provider integration
This commit is contained in:
@@ -18,6 +18,12 @@ test("chat model selections are normalized from persisted metadata", () => {
|
||||
);
|
||||
});
|
||||
|
||||
test("unsupported historical providers never restore an active model selection", () => {
|
||||
for (const provider of ["retired-provider", "sybil-agent", null]) {
|
||||
assert.equal(getChatModelSelection({ lastUsedProvider: provider, lastUsedModel: "archived-model" }), null);
|
||||
}
|
||||
});
|
||||
|
||||
test("unrelated chat updates do not change the model synchronization key", () => {
|
||||
const beforeSettingsSave = getChatModelSelection({
|
||||
lastUsedProvider: "openai",
|
||||
|
||||
Reference in New Issue
Block a user