refactor(llm): remove deprecated validateEmbeddingProviders method and update session handling in chat services

This commit is contained in:
perf3ct
2025-06-02 21:55:52 +00:00
parent 3a55735cd5
commit d8d5318ace
3 changed files with 1 additions and 15 deletions

View File

@@ -139,13 +139,8 @@ class RestChatService {
if (!session && req.method === 'POST') {
log.info(`No Chat Note found for ${chatNoteId}, creating a new Chat Note and session`);
// Create a new Chat Note via the storage service
//const chatStorageService = (await import('../../llm/chat_storage_service.js')).default;
//const newChat = await chatStorageService.createChat('New Chat');
// Use the new Chat Note's ID for the session
session = SessionsStore.createSession({
//title: newChat.title,
chatNoteId: chatNoteId
});