| | |
| | | import ConfigVision from '../config-vision' |
| | | import ConfigDocument from './config-document' |
| | | import AgentTools from './agent/agent-tools' |
| | | import CreateWorkflow from './agent/create-workFlow' |
| | | import ConfigContext from '@/context/debug-configuration' |
| | | import ConfigPrompt from '@/app/components/app/configuration/config-prompt' |
| | | import ConfigVar from '@/app/components/app/configuration/config-var' |
| | | import type { ModelConfig, PromptVariable } from '@/models/debug' |
| | | import { type ModelConfig, type PromptVariable } from '@/models/debug' |
| | | import type { AppType } from '@/types/app' |
| | | import { ModelModeType } from '@/types/app' |
| | | |
| | |
| | | return ( |
| | | <> |
| | | <div |
| | | className="relative h-0 grow overflow-y-auto px-6 pb-[50px]" |
| | | className="grow h-0 relative px-6 pb-[50px] overflow-y-auto" |
| | | > |
| | | {/* Template */} |
| | | <ConfigPrompt |
| | |
| | | <AgentTools /> |
| | | )} |
| | | |
| | | {isAgent && ( |
| | | <CreateWorkflow /> |
| | | )} |
| | | |
| | | <ConfigVision /> |
| | | |
| | | <ConfigDocument /> |