feat: default smart reasoning and robust channel delivery #16
Reference in New Issue
Block a user
Delete Branch "feat/default-reasoning-mode"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Included behavior
Database
Verification
Boundaries
WeKnora's system prompt hard-enforces 'ALWAYS respond in {{language}}', fed by its Language middleware (WEKNORA_LANGUAGE env -> Accept-Language header -> zh-CN fallback). The previous localizedQuery() prompt prefix lost against that instruction, so a user-set 'en' preference still got Chinese answers on English questions. - AgentChatRequest.Locale is transmitted as the Accept-Language header (never in the JSON body); WeKnora maps it to the prompt language - 'auto' detects the query script client-side (latin->en, Han->zh-CN, kana->ja, Hangul->ko); es is never auto-guessed - unset/unknown locale sends no header, preserving prior server behavior - drop localizedQuery prompt prefixes entirely