fix(ai): use current form config for connection tests
This commit is contained in:
4 files changed
+52
-6
No files matched your search
@@ -0,0 +1,5 @@
|
||||
import type { AiConfig } from "@/types/ai";
|
||||
|
||||
export function isAiConnectionTestConfigCurrent(testedConfig: AiConfig, currentConfig: AiConfig): boolean {
|
||||
return JSON.stringify(testedConfig) === JSON.stringify(currentConfig);
|
||||
}
|
||||
Reference in new issue
Block a user