@@ -554,7 +559,7 @@ export const ChatControl = ({ profiles, onApplyProfile }: ChatControlProps) => {
{isEditing ? (
Edit Parameters Before Apply
-
updateDraftField(msg.id, 'name', e.target.value)}
placeholder="Profile Name"
@@ -562,7 +567,7 @@ export const ChatControl = ({ profiles, onApplyProfile }: ChatControlProps) => {
style={inputStyle}
/>
- {
className="w-full rounded-lg px-2.5 py-1.5 text-[11px] outline-none"
style={inputStyle}
/>
- {
style={inputStyle}
/>
-
updateDraftField(msg.id, 'symbols', e.target.value)}
placeholder="Symbols (e.g. BTC/USDT,ETH/USDT)"
@@ -592,15 +597,16 @@ export const ChatControl = ({ profiles, onApplyProfile }: ChatControlProps) => {
/>
Auto Trading
-
+ options={[
+ { value: 'true', label: 'Active' },
+ { value: 'false', label: 'Paused' },
+ ]}
+ />
- ))}
-
+
+ ))}
+
{/* Suggested quick actions - shown when only welcome message exists */}
{messages.length <= 1 && !isLoading && (
Quick Actions
{quickActions.map((action, i) => (
- sendMessage(action.prompt)}
+ variant="ghost"
className="text-left px-3.5 py-3 rounded-xl transition-all"
style={{
background: 'var(--card)',
@@ -706,11 +720,11 @@ export const ChatControl = ({ profiles, onApplyProfile }: ChatControlProps) => {
>
{action.label}
{action.prompt.slice(0, 55)}...
-
+
))}
-