hotfix: fix bad semantic HTML

feat: add /reset to bailout for agent session
fix: patch save-to-browser not enabling
This commit is contained in:
timothycarambat 2024-06-12 12:43:06 -07:00
parent e92037cc7d
commit 4f15f95f53
3 changed files with 7 additions and 8 deletions

View File

@ -42,7 +42,7 @@ export const defaultSkills = {
};
export const configurableSkills = {
"save-file": {
"save-file-to-browser": {
title: "Generate & save files to browser",
description:
"Enable the default agent to generate and write to files that can be saved to your computer.",

View File

@ -88,13 +88,11 @@ export default function WorkspaceAgentConfiguration({ workspace }) {
/>
{!hasChanges && (
<div className="flex flex-col gap-y-4">
<button onClick={() => navigate(paths.settings.agentSkills())}>
<div
type="button"
<button
className="w-fit transition-all duration-300 border border-slate-200 px-5 py-2.5 rounded-lg text-white text-sm items-center flex gap-x-2 hover:bg-slate-200 hover:text-slate-800 focus:ring-gray-800"
onClick={() => navigate(paths.settings.agentSkills())}
>
Configure Agent Skills
</div>
</button>
<p className="text-white text-opacity-60 text-xs font-medium">
Customize and enhance the default agent's capabilities by enabling

View File

@ -21,6 +21,7 @@ const WEBSOCKET_BAIL_COMMANDS = [
"/stop",
"halt",
"/halt",
"/reset", // Will not reset but will bail. Powerusers always do this and the LLM responds.
];
const websocket = {
name: "websocket",