We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7e67584 commit 4138d39Copy full SHA for 4138d39
1 file changed
packages/plugins/core/src/lib/services/coreLLMService/coreLLMService.ts
@@ -47,8 +47,10 @@ export class CoreLLMService implements ICoreLLMService {
47
async initialize() {
48
try {
49
this.logger = getLogger()
50
- const userData = await this.userService?.getUser()
51
- this.userData = userData
+ if (ENABLE_USER_SERVICE) {
+ const userData = await this.userService?.getUser()
52
+ this.userData = userData
53
+ }
54
} catch (error: any) {
55
console.error('Error initializing CoreLLMService:', error)
56
throw error
0 commit comments