mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-10-02 19:01:30 +08:00
fix import paths in chunking
This commit is contained in:
parent
9dd76873ac
commit
6b86bf93ae
@ -120,8 +120,8 @@ export async function processNoteWithChunking(
|
|||||||
{
|
{
|
||||||
// Adjust chunk size based on provider using constants
|
// Adjust chunk size based on provider using constants
|
||||||
maxChunkSize: provider.name === 'ollama' ?
|
maxChunkSize: provider.name === 'ollama' ?
|
||||||
(await import('../../../../routes/api/llm.js')).LLM_CONSTANTS.CHUNKING.OLLAMA_SIZE :
|
(await import('../../../llm/constants/provider_constants.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.DEFAULT_SIZE,
|
||||||
respectBoundaries: true
|
respectBoundaries: true
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user