diff --git a/components/edit/configure.tsx b/components/edit/configure.tsx index 4a4866f2..e4b4f55e 100644 --- a/components/edit/configure.tsx +++ b/components/edit/configure.tsx @@ -7,7 +7,6 @@ import Code from '@/components/edit/configure/code'; import { EditContext } from '@/contexts/edit'; import { GoLightBulb, GoTrash } from 'react-icons/go'; import { HiCog } from 'react-icons/hi2'; -import { LuCircuitBoard } from 'react-icons/lu'; import { Textarea, Input, @@ -159,46 +158,6 @@ const Configure: React.FC = ({ collapsed }) => { }} /> - Dynamic Instructions} - startContent={} - classNames={{ content: collapsed ? 'pt-6 pb-10' : 'p-10 pt-6' }} - > -
- -

- Augment your instructions with code that can pull information - from local or remote systems. -

-
- { - setDynamicInstructions(value); - setUpdated(true); - }} - dependencies={ - dependencies.find((d) => d.forTool === 'dynamic-instructions') - ?.content || '' - } - onDependenciesChange={(code, type) => { - setDependencies([ - ...dependencies.filter( - (d) => d.forTool !== 'dynamic-instructions' - ), - { - forTool: 'dynamic-instructions', - content: code, - type: type, - }, - ]); - setUpdated(true); - }} - /> -
Tools} @@ -313,11 +272,6 @@ const Configure: React.FC = ({ collapsed }) => { aria-label="advanced" title={

Advanced

} startContent={} - classNames={{ - content: collapsed - ? 'py-6 pt-10 h-[500px]' - : 'p-10 pt-6 h-[500px]', - }} > = ({ collapsed }) => { if (root.modelName != model) setUpdated(true); }} /> +
+

Dynamic Instructions

+
+ +

+ Augment your instructions with code that can pull + information from local or remote systems. +

+
+ { + setDynamicInstructions(value); + setUpdated(true); + }} + dependencies={ + dependencies.find( + (d) => d.forTool === 'dynamic-instructions' + )?.content || '' + } + onDependenciesChange={(code, type) => { + setDependencies([ + ...dependencies.filter( + (d) => d.forTool !== 'dynamic-instructions' + ), + { + forTool: 'dynamic-instructions', + content: code, + type: type, + }, + ]); + setUpdated(true); + }} + /> +