Skip to content

Commit 54a2d92

Browse files
authored
Merge pull request #837 from sparrowapp-dev/development
Merge development into release v2
2 parents f7bfa3b + 70b4f43 commit 54a2d92

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "project-sparrow-api",
3-
"version": "2.32.0",
3+
"version": "2.32.1",
44
"description": "Backend APIs for Project Sparrow.",
55
"author": "techdome",
66
"license": "",

src/modules/common/services/parser.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ export class ParserService {
108108
activeSyncUrl: openApiDocument?.activeSyncUrl ?? "",
109109
createdAt: new Date(),
110110
updatedAt: new Date(),
111-
createdBy: user._id.toString(),
111+
createdBy: user.name,
112112
updatedBy: {
113113
id: user._id.toString(),
114114
name: user.name,

src/modules/workspace/services/ai-assistant.service.ts

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -164,9 +164,9 @@ export class AiAssistantService {
164164
try {
165165
if (!this.endpoint || !this.apiKey || !this.apiVersion) {
166166
console.warn("GPT Client is disabled. Missing configuration values");
167-
return;
167+
}else{
168+
this.gptAssistantsClient = this.getGPTClient();
168169
}
169-
this.gptAssistantsClient = this.getGPTClient();
170170
} catch (e) {
171171
console.error(e);
172172
}
@@ -181,9 +181,10 @@ export class AiAssistantService {
181181
console.warn(
182182
"Deepseek Client is disabled. Missing configuration values",
183183
);
184-
return;
184+
}else{
185+
this.deepseekClient = this.getDeepSeekClient();
185186
}
186-
this.deepseekClient = this.getDeepSeekClient();
187+
187188
} catch (e) {
188189
console.error(e);
189190
}

0 commit comments

Comments
 (0)