fix chat_service imports

This commit is contained in:
perf3ct 2025-03-19 19:33:03 +00:00
parent 466b749298
commit d5efcfe0a9
No known key found for this signature in database
GPG Key ID: 569C4EEC436F5232

View File

@ -168,10 +168,10 @@ export class ChatService {
if (useSmartContext && lastUserMessage) {
// Use smart context that considers the query for better relevance
context = await contextExtractor.getSmartContext(noteId, lastUserMessage);
context = await aiServiceManager.getContextExtractor().getSmartContext(noteId, lastUserMessage);
} else {
// Fall back to full context if smart context is disabled or no query available
context = await contextExtractor.getFullContext(noteId);
context = await aiServiceManager.getContextExtractor().getFullContext(noteId);
}
const contextMessage: Message = {