feat: Add default tool call renderer, and error toasts

This commit is contained in:
bracesproul
2025-03-04 13:37:42 -08:00
parent a796f7612d
commit 3f9c85b106
10 changed files with 168 additions and 7 deletions

View File

@@ -21,7 +21,7 @@ function ThreadList({
const [threadId, setThreadId] = useQueryParam("threadId", StringParam);
return (
<div className="h-full overflow-y-scroll flex flex-col gap-2 items-start justify-start [&::-webkit-scrollbar]:w-1.5 [&::-webkit-scrollbar-thumb]:rounded-full [&::-webkit-scrollbar-thumb]:bg-gray-300 [&::-webkit-scrollbar-track]:bg-transparent">
<div className="h-full flex flex-col gap-2 items-start justify-start overflow-y-scroll [&::-webkit-scrollbar]:w-1.5 [&::-webkit-scrollbar-thumb]:rounded-full [&::-webkit-scrollbar-thumb]:bg-gray-300 [&::-webkit-scrollbar-track]:bg-transparent">
{threads.map((t) => {
let itemText = t.thread_id;
if (