summaryrefslogtreecommitdiff
path: root/packages/core/src/config/config.ts
diff options
context:
space:
mode:
authorSandy Tao <[email protected]>2025-07-15 21:13:30 -0700
committerGitHub <[email protected]>2025-07-16 04:13:30 +0000
commitcba272082d15a6b9fb4e21bc27ed1d56fa5b9a56 (patch)
treebd0e54879334819c823e5a892d1709066ed6618a /packages/core/src/config/config.ts
parentd622e596a14338771bdd43a8812ff7fc02f7ebe8 (diff)
Run model availability check in the background to speed up startup (#4256)
Diffstat (limited to 'packages/core/src/config/config.ts')
-rw-r--r--packages/core/src/config/config.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/core/src/config/config.ts b/packages/core/src/config/config.ts
index 268871ca..59f1e1ba 100644
--- a/packages/core/src/config/config.ts
+++ b/packages/core/src/config/config.ts
@@ -274,8 +274,8 @@ export class Config {
}
async refreshAuth(authMethod: AuthType) {
- this.contentGeneratorConfig = await createContentGeneratorConfig(
- this.model,
+ this.contentGeneratorConfig = createContentGeneratorConfig(
+ this,
authMethod,
);