Aibo117
fa9f64752b
fix: reduce chunk size to prevent embedding context overflow
...
nomic-embed-text tokenizes Chinese characters differently from the
estimateTokenCount heuristic (3-5 real tokens per character vs 1
estimated). Large chunks overflow the 8192 token context. Reduce
TargetTokens/MaxTokens to keep chunks within limits.
2026-05-26 14:56:24 +08:00
Aibo117
0f40930a41
refactor: rebrand from cs-agent to BossChat
...
- Rename Go module: cs-agent → bosschat
- Rename all import paths across 200+ Go files
- Rename SDK: cs-ai-agent-sdk → bosschat-sdk
- Rename message protocol: cs-agent:* → bosschat:*
- Rename JS globals: CSAgentConfig → BossChatConfig
- Rename CSS classes: cs-agent-* → bosschat-*
- Update Makefile APP_NAME and ARCHIVE_NAME
- Update logo assets
- Fix display name: BoosChat → BossChat
2026-05-26 13:17:07 +08:00
mlogclub
60956488e0
refactor(rag): update loadDocumentByID and loadFAQByID to return pointers and simplify error handling
2026-04-19 11:56:03 +08:00
mlogclub
3e98e9379c
refactor(runtime): update function signatures to use value receivers for models
2026-04-19 11:38:05 +08:00
mlogclub
2a5629b9f1
feat: refactor indexing logic by introducing runDocumentIndex and runFAQIndex helper methods
2026-04-13 20:10:50 +08:00
mlogclub
4cd31ce454
feat: add document and FAQ loading methods to streamline indexing logic
2026-04-13 20:03:28 +08:00
mlogclub
229282f558
feat: refactor document and FAQ index removal logic, introducing cleanup helper functions for improved structure and readability
2026-04-13 18:17:29 +08:00
mlogclub
227ccedee6
feat: refactor document and FAQ indexing logic, introducing helper functions for improved structure and readability
2026-04-13 18:11:47 +08:00
mlogclub
efe801b8bf
Init
2026-04-09 10:01:23 +08:00