Skip to content

Commit

Permalink
chore: library update
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianmusial committed Oct 15, 2024
1 parent 226f5b2 commit 1441071
Show file tree
Hide file tree
Showing 9 changed files with 3,865 additions and 4,263 deletions.
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
node_modules
apps/spa/src/assets
4 changes: 2 additions & 2 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@
"files": ["*.ts", "*.tsx"],
"extends": ["plugin:@nx/typescript"],
"rules": {
"@typescript-eslint/no-extra-semi": "error",
"@typescript-eslint/no-extra-semi": "off",
"no-extra-semi": "off"
}
},
{
"files": ["*.js", "*.jsx"],
"extends": ["plugin:@nx/javascript"],
"rules": {
"@typescript-eslint/no-extra-semi": "error",
"@typescript-eslint/no-extra-semi": "off",
"no-extra-semi": "off"
}
},
Expand Down
2 changes: 1 addition & 1 deletion apps/spa/src/app/modules/+chat/shared/chat.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ export class ChatService {
}

watchTextCreated(): Subscription {
return this.chatGatewayService.textCreated().subscribe(data => {
return this.chatGatewayService.textCreated().subscribe(() => {
this.isTyping$.next(false);
this.isResponding$.next(true);

Expand Down
8 changes: 4 additions & 4 deletions jest.config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { getJestProjects } from '@nx/jest';
import { getJestProjectsAsync } from '@nx/jest';

export default {
projects: getJestProjects(),
};
export default async () => ({
projects: await getJestProjectsAsync(),
});
14 changes: 7 additions & 7 deletions libs/openai-assistant/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,20 @@
"version": "1.2.0",
"private": false,
"dependencies": {
"tslib": "^2.3.0",
"tslib": "^2.6.3",
"dotenv": "^16.4.5",
"envfile": "^7.1.0",
"@nestjs/common": "^10.0.2",
"@nestjs/platform-express": "^10.0.2",
"@nestjs/axios": "^3.0.1",
"@nestjs/swagger": "^7.3.0",
"@nestjs/common": "^10.4.4",
"@nestjs/platform-express": "^10.4.4",
"@nestjs/axios": "^3.0.3",
"@nestjs/swagger": "^7.4.2",
"@nestjs/websockets": "^10.3.0",
"multer": "^1.4.4-lts.1",
"class-validator": "^0.14.1",
"socket.io": "^4.7.3"
"socket.io": "^4.8.0"
},
"peerDependencies": {
"openai": "^4.55.0"
"openai": "^4.67.3"
},
"type": "commonjs",
"main": "./src/index.js",
Expand Down
2 changes: 2 additions & 0 deletions libs/openai-assistant/src/lib/run/run.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ export class RunService {
case 'failed':
case 'expired':
case 'completed':
case 'incomplete':
case 'queued':
return;
case 'requires_action':
await this.submitAction(run, callbacks);
Expand Down
10 changes: 1 addition & 9 deletions nx.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,5 @@
"e2eTestRunner": "none"
}
},
"useInferencePlugins": false,
"tasksRunnerOptions": {
"default": {
"runner": "nx/tasks-runners/default",
"options": {
"cacheableOperations": ["build", "test"]
}
}
}
"useInferencePlugins": false
}
Loading

0 comments on commit 1441071

Please sign in to comment.