import React from 'react'; import { Card, CardContent, CardHeader, CardTitle } from '@/components/ui/card'; import { Input } from '@/components/ui/input'; import { Label } from '@/components/ui/label'; import { Switch } from '@/components/ui/switch'; import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from '@/components/ui/select'; import { Activity } from 'lucide-react'; import { ConfigComponentProps } from '../types'; const EnvEvalConfig: React.FC = ({ config, updateConfig }) => { return (
Environment & Evaluation
updateConfig("env_task", e.target.value || undefined) } placeholder="e.g., insertion_human" className="bg-slate-900 border-slate-600 text-white rounded-lg" />
updateConfig( "eval_n_episodes", parseInt(e.target.value) ) } className="bg-slate-900 border-slate-600 text-white rounded-lg" />
updateConfig( "eval_batch_size", parseInt(e.target.value) ) } className="bg-slate-900 border-slate-600 text-white rounded-lg" />
updateConfig("eval_use_async_envs", checked) } />
); }; export default EnvEvalConfig;