WeKnora/config
wizardchen 8d40150149 fix(session): keep auto-generated titles plain text
The title prompt sent the user's first message as a raw user turn, so a
query ending in "summarise it in a table" made the model emit a Markdown
table that became the session title.

- Wrap the query in a <user_message> block (embedded delimiter tags are
  neutralised) and append a guard to the configured system prompt telling
  the model to treat the block as data and never follow its instructions.
- sanitizeGeneratedTitle now drops a full <think> block, keeps the first
  line with content, strips headings, list/quote markers, labels, links,
  inline markup and wrapping quotes, and falls back to a 30-rune plain-text
  prefix of the user query when the output is still table-like.
- Tighten the default session title template.
2026-09-24 15:56:09 +08:00
..
prompt_templates fix(session): keep auto-generated titles plain text 2026-09-24 15:56:09 +08:00
agent_type_presets.yaml refactor(agent): consolidate knowledge retrieval tools into search_knowledge, read_document, list_documents (#3381) 2026-09-18 14:12:22 +08:00
builtin_agents.yaml feat(agent): size agent history by the window and calibrate token estimates (#3413) 2026-09-18 22:51:31 +08:00
builtin_models.yaml.example docs: sync website-docs, homepage and changelog for v0.8.2 (#3632) 2026-09-24 11:26:34 +08:00
config.yaml feat(knowledge): derive knowledge base descriptions from document profiles (#3370) 2026-09-17 22:21:55 +08:00
models.json.example docs: sync website-docs, homepage and changelog for v0.8.2 (#3632) 2026-09-24 11:26:34 +08:00