diff --git a/apps/rowboat/app/lib/components/editable-field.tsx b/apps/rowboat/app/lib/components/editable-field.tsx index 883b68be..4363e3f1 100644 --- a/apps/rowboat/app/lib/components/editable-field.tsx +++ b/apps/rowboat/app/lib/components/editable-field.tsx @@ -193,19 +193,19 @@ export function EditableField({ {...commonProps} minRows={3} maxRows={20} - className="w-full" + className="w-full text-sm focus-visible:ring-0 focus:ring-0 outline-none" classNames={{ ...commonProps.classNames, - input: "rounded-md py-2", + input: "rounded-md py-2 text-base focus-visible:ring-0 focus:ring-0 outline-none", inputWrapper: "rounded-md border-medium py-1" }} />} {!multiline && (null); + // Sync local state with agent prop + useEffect(() => { + setMaxCallsInput(String(agent.maxCallsPerParentAgent || 3)); + }, [agent.maxCallsPerParentAgent]); + return ( -
+
{agent.name}
setActiveTab(tab)} className={clsx( - "px-4 py-2 text-sm font-medium transition-colors relative", + "px-4 py-2 text-base font-semibold transition-colors relative", activeTab === tab ? "text-indigo-600 dark:text-indigo-400 after:absolute after:bottom-0 after:left-0 after:right-0 after:h-0.5 after:bg-indigo-500 dark:after:bg-indigo-400" : "text-gray-500 hover:text-gray-700 dark:text-gray-400 dark:hover:text-gray-300" @@ -389,365 +398,332 @@ export function AgentConfig({ {activeTab === 'configurations' && ( -
- {!agent.locked && ( -
- -
-