@@ -249,13 +230,6 @@
padding-left: 12px; border-left: 3px solid var(--accent);
}
- .answer { font-size: var(--fs-normal); line-height: 1.7; white-space: pre-wrap; max-width: 78ch; }
- .cite-pill {
- display: inline-grid; place-items: center; min-width: 19px; height: 19px; padding: 0 4px;
- background: var(--accent-soft); color: var(--accent-bright); border-radius: 2px;
- font: 600 0.72rem/1 var(--mono); vertical-align: baseline; margin: 0 1px;
- cursor: default;
- }
.glance {
display: flex; gap: 9px; align-items: flex-start; margin-top: 14px;
padding: 11px 13px; border-radius: var(--radius-sm); font-size: 0.88rem; max-width: 78ch;
@@ -295,6 +269,6 @@
.new-chat { padding: 7px 12px; font-size: 0.8rem; }
@media (max-width: 720px) {
- .user-q, .answer { max-width: 100%; }
+ .user-q { max-width: 100%; }
}
diff --git a/docket/web/frontend/src/routes/chat/[id]/+page.svelte b/docket/web/frontend/src/routes/chat/[id]/+page.svelte
index c56ab13..e12a54d 100644
--- a/docket/web/frontend/src/routes/chat/[id]/+page.svelte
+++ b/docket/web/frontend/src/routes/chat/[id]/+page.svelte
@@ -7,6 +7,7 @@
import { page } from '$app/stores';
import { api, errMsg } from '$lib/api.js';
import { when, reliability } from '$lib/format.js';
+ import Answer from '$lib/components/Answer.svelte';
import Chip from '$lib/components/Chip.svelte';
import Icon from '$lib/components/Icon.svelte';
import Timeline from '$lib/components/Timeline.svelte';
@@ -55,7 +56,7 @@
{trace.question}
answer
-
{trace.answer}
+
{trace.reliability}
@@ -84,6 +85,5 @@
font-size: var(--fs-ml); font-weight: var(--w-semibold); letter-spacing: -0.01em;
padding-left: 12px; border-left: 3px solid var(--accent);
}
- .answer { white-space: pre-wrap; line-height: 1.7; max-width: 78ch; }
.meta { margin-top: 20px; }
diff --git a/pyproject.toml b/pyproject.toml
index 82c7ec4..000777a 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,7 +1,7 @@
[project]
name = "docket"
version = "0.0.1"
-description = "Local RAG engine for long documents: hybrid retrieval, cross-encoder rerank, grounded generation, evaluated on FinanceBench."
+description = "Self-hosted research assistant for SEC filings: answers cited to the exact filing page, from a local model."
readme = "README.md"
requires-python = ">=3.11"
license = { text = "GPL-3.0-only" }