chore: update no agent error message

style: update error message width
This commit is contained in:
timothycarambat 2024-06-12 13:19:06 -07:00
parent f6ebf84796
commit 05870ec8d0
2 changed files with 4 additions and 2 deletions

View File

@ -39,7 +39,7 @@ const HistoricalMessage = ({
role === "user" ? USER_BACKGROUND_COLOR : AI_BACKGROUND_COLOR
}`}
>
<div className="py-8 px-4 w-full flex gap-x-5 md:max-w-[800px] flex-col">
<div className="py-8 px-4 w-full flex gap-x-5 md:max-w-[80%] flex-col">
<div className="flex gap-x-5">
<ProfileImage role={role} workspace={workspace} />
<div className="p-2 rounded-lg bg-red-50 text-red-500">

View File

@ -139,7 +139,9 @@ class AgentHandler {
break;
default:
throw new Error("No provider found to power agent cluster.");
throw new Error(
"No workspace agent provider set. Please set your agent provider in the workspace's settings"
);
}
}