- merge: sync with origin/main, resolve renewed conflicts

- fix(tauri): union command handlers (import/export + speedtest/custom endpoints)
- fix(api): keep import/export APIs and provider-switched listener together
- chore(presets): retain legacy model keys alongside new defaults (GLM)
- chore(rust): keep chrono dep; lockfile updated by merge
This commit is contained in:
Jason
2025-10-07 19:12:51 +08:00

View File

@@ -428,7 +428,7 @@ export const tauriAPI = {
return null;
}
},
// 监听供应商切换事件
onProviderSwitched: async (
callback: (data: { appType: string; providerId: string }) => void,