minor arrangement

pull/5370/head
Stéphane Tetsing 9 months ago
parent dc1dd17cc4
commit 61f44f0af4
  1. 5
      libs/remix-ui/settings/src/lib/remix-ui-settings.tsx

@ -211,6 +211,11 @@ export const RemixUiSettings = (props: RemixUiSettingsProps) => {
}
}
useEffect(()=>{
if (props.useCopilot !== null) copilotActivate(props.config, props.useCopilot, dispatch)
onchangeCopilotActivate()
}, [props.useCopilot])
const onchangeCopilotMaxNewToken = (event) => {
copilotMaxNewToken(props.config, parseInt(event.target.value), dispatch)
}

Loading…
Cancel
Save