fix(frontend): preserve agent context in thread history routes (#1771)

* fix(frontend): preserve agent context in thread history routes

* fix(frontend): preserve agent thread fallback context

* style(frontend): format thread route utils test

---------

Co-authored-by: luoxiao6645 <luoxiao6645@gmail.com>
This commit is contained in:
2026-04-09 15:11:57 +08:00
committed by GitHub
parent 616caa92b1
commit 60e0abfdb8
6 changed files with 78 additions and 21 deletions
+1 -4
View File
@@ -48,10 +48,7 @@ export default function ChatsPage() {
<ScrollArea className="size-full py-4">
<div className="mx-auto flex size-full max-w-(--container-width-md) flex-col">
{filteredThreads?.map((thread) => (
<Link
key={thread.thread_id}
href={pathOfThread(thread.thread_id)}
>
<Link key={thread.thread_id} href={pathOfThread(thread)}>
<div className="flex flex-col gap-2 border-b p-4">
<div>
<div>{titleOfThread(thread)}</div>