File tree Expand file tree Collapse file tree 2 files changed +1
-8
lines changed
Expand file tree Collapse file tree 2 files changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -333,7 +333,7 @@ export class ChatController {
333333
334334 // Get knowledge base search results if available
335335 const aiService = ( this . chatManager as any ) . aiService ;
336- aiService . setResponseMode ( responseMode ) ;
336+
337337 let knowledgeResults : string | null = null ;
338338
339339 // Get conversation to extract company_id for knowledge base search
Original file line number Diff line number Diff line change @@ -17,7 +17,6 @@ export class AIService {
1717 private navigationLinks : NavigationLink [ ] ;
1818 private knowledgeBase : string ;
1919 private knowledgeBaseService ?: KnowledgeBaseService ;
20- private responseMode : ResponseMode ;
2120
2221 constructor ( config : AIServiceConfig ) {
2322 this . config = config ;
@@ -32,19 +31,13 @@ export class AIService {
3231 }
3332
3433 this . systemPrompt = this . buildSystemPrompt ( ) ;
35- this . responseMode = RESPONSE_MODES . DEVELOPER ;
3634 }
3735
3836 setKnowledgeBaseService ( service : KnowledgeBaseService ) : void {
3937 this . knowledgeBaseService = service ;
4038 this . systemPrompt = this . buildSystemPrompt ( ) ;
4139 }
4240
43- setResponseMode ( mode : ResponseMode ) : void {
44- this . responseMode = mode ;
45- }
46-
47-
4841 private buildSystemPrompt ( ) : string {
4942 const orgName = this . config . organizationName || 'Your Organization' ;
5043 const assistantName = this . config . assistantName || `${ orgName } AI Assistant` ;
You can’t perform that action at this time.
0 commit comments