mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-24 09:28:31 +00:00
* add support for Copilot assistance * clean up * fixes workspace settings crash * refactor and resolved review comments * api endpoint should be inferred from env * copilot style fixes * copilot style fixed * beta tag fro copilot settings: workspace * fire toast for unauthorised recommendation request * include the previous code with the newly generated response * scoping apikeys to orgs * controller updates for copilot * copilot org key updated * disable toggle for new workspaces * disable toggle for new workspaces * fixes: multi-workspace toggle updates * uninstall unsued packages * fixes button state for copilot in transformations * updated the urls
14 lines
693 B
TypeScript
14 lines
693 B
TypeScript
import { Module } from '@nestjs/common';
|
|
import { CopilotController } from '@controllers/copilot.controller';
|
|
import { CopilotService } from '@services/copilot.service';
|
|
import { OrgEnvironmentVariablesService } from '@services/org_environment_variables.service';
|
|
import { OrgEnvironmentVariable } from 'src/entities/org_envirnoment_variable.entity';
|
|
import { EncryptionService } from '@services/encryption.service';
|
|
import { TypeOrmModule } from '@nestjs/typeorm';
|
|
|
|
@Module({
|
|
controllers: [CopilotController],
|
|
imports: [TypeOrmModule.forFeature([OrgEnvironmentVariable])],
|
|
providers: [CopilotService, OrgEnvironmentVariablesService, EncryptionService],
|
|
})
|
|
export class CopilotModule {}
|