iconsulting/packages/services/conversation-service
hailin db8617dda8 refactor(agents): remove per-intent hard truncation, keep 2000-char safety net
Hard-coded INTENT_MAX_ANSWER_LENGTH limits caused mid-sentence truncation and
content loss. Length control now relies on prompt + schema description + LLM-Judge
(3 layers). Only a 2000-char safety net remains for extreme edge cases.

Also simplified followUp: non-question followUp is now always appended (prevents
model content split from silently dropping text).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-07 10:32:53 -08:00
..
src refactor(agents): remove per-intent hard truncation, keep 2000-char safety net 2026-02-07 10:32:53 -08:00
Dockerfile fix(docker): copy shared module AFTER npm install to prevent wipe 2026-01-26 03:41:16 -08:00
nest-cli.json Initial commit: iConsulting 香港移民咨询智能客服系统 2026-01-09 00:01:12 -08:00
package.json feat(agents): add 4-layer response quality control — structured outputs, LLM judge, smart truncation 2026-02-07 01:01:05 -08:00
tsconfig.json Initial commit: iConsulting 香港移民咨询智能客服系统 2026-01-09 00:01:12 -08:00