We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 64e2674 commit 79e0cdaCopy full SHA for 79e0cda
src/services/aiService.ts
@@ -100,13 +100,9 @@ if (typeof globalFetchWithExtras.certificate === "function") {
100
* In tests, we preload them once during setup to ensure reliable concurrent execution.
101
*/
102
export async function preloadAISDKProviders(): Promise<void> {
103
- await Promise.all([
104
- import("@ai-sdk/anthropic"),
105
- import("@ai-sdk/openai"),
106
- ]);
+ await Promise.all([import("@ai-sdk/anthropic"), import("@ai-sdk/openai")]);
107
}
108
109
-
110
export class AIService extends EventEmitter {
111
private readonly METADATA_FILE = "metadata.json";
112
private readonly streamManager: StreamManager;
0 commit comments