fix: Docker paths, chunker word→char split, and ChatOrchestrator args

Fixed multiple issues preventing the indexer from running:
- Docker COPY paths: companion/ → src/companion/ to match project structure
- pyproject.toml: [tool.hatchling] → [tool.hatch.build.targets.wheel]
- api.py: ChatOrchestrator init params (session_memory instead of http_client)
- chunker.py: Fixed character-based chunking (was word-based, causing 400 errors from Ollama embedding API due to exceeding token limits)
- config.json: Use exact model tag mxbai-embed-large:335m
- docker-compose.yml: Fixed vault mount path
This commit is contained in:
2026-04-13 16:45:50 -04:00
parent a53f1f1242
commit f000f13672
7 changed files with 36 additions and 20 deletions

View File

@@ -55,7 +55,7 @@
"rag": {
"embedding": {
"provider": "ollama",
"model": "mxbai-embed-large",
"model": "mxbai-embed-large:335m",
"base_url": "http://localhost:11434",
"dimensions": 1024,
"batch_size": 32