mirror of
https://github.com/TriliumNext/Notes.git
synced 2026-01-08 05:49:49 -06:00
fix import paths in chunking
This commit is contained in:
@@ -120,8 +120,8 @@ export async function processNoteWithChunking(
|
||||
{
|
||||
// Adjust chunk size based on provider using constants
|
||||
maxChunkSize: provider.name === 'ollama' ?
|
||||
(await import('../../../../routes/api/llm.js')).LLM_CONSTANTS.CHUNKING.OLLAMA_SIZE :
|
||||
(await import('../../../../routes/api/llm.js')).LLM_CONSTANTS.CHUNKING.DEFAULT_SIZE,
|
||||
(await import('../../../llm/constants/provider_constants.js')).LLM_CONSTANTS.CHUNKING.OLLAMA_SIZE :
|
||||
(await import('../../../llm/constants/provider_constants.js')).LLM_CONSTANTS.CHUNKING.DEFAULT_SIZE,
|
||||
respectBoundaries: true
|
||||
}
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user