@@ -448,57 +448,6 @@ export const RemixUiSettings = (props: RemixUiSettingsProps) => {
448
448
copilotTemperatureValue = 0.9
449
449
}
450
450
451
- const copilotSettings = ( ) => (
452
- < div className = "border-top" >
453
- < div className = "card-body pt-3 pb-2" >
454
- < h6 className = "card-title d-inline" >
455
- < FormattedMessage id = "settings.copilot" />
456
- </ h6 >
457
- < CustomTooltip placement = "bottom" tooltipId = "overlay-tooltip-aiDocumentation" tooltipText = { < FormattedMessage id = "remixUiTabs.tooltipText8" /> } >
458
- < span
459
- data-id = "remix_ai_docs"
460
- id = "remix_ai_docs"
461
- className = "btn pl-2 pr-0 py-0 d-inline ai-docs text-dark"
462
- role = 'link'
463
- onClick = { ( ) => {
464
- window . open ( "https://remix-ide.readthedocs.io/en/latest/ai.html" )
465
- _paq . push ( [ 'trackEvent' , 'ai' , 'remixAI' , 'documentation' ] )
466
- } }
467
- >
468
- < i aria-hidden = "true" className = "fas fa-book" > </ i >
469
- </ span >
470
- </ CustomTooltip >
471
-
472
- < div className = "pt-2 mb-0" >
473
- < div className = "text-secondary mb-0 h6" >
474
- < div >
475
- < div className = "mb-1" >
476
- < label className = { `form-check-label align-middle ${ getTextClass ( 'settings/copilot/suggest/max_new_tokens' ) } ` } htmlFor = "copilot-activate" >
477
- < FormattedMessage id = "settings.copilot.max_new_tokens" /> - < span > { copilotMaxnewToken } </ span >
478
- </ label >
479
- < input onChange = { onchangeCopilotMaxNewToken } id = "copilot-max-new-token" value = { copilotMaxnewToken } min = '1' max = '150' type = "range" className = "custom-range" />
480
- </ div >
481
- </ div >
482
- </ div >
483
- </ div >
484
-
485
- < div className = "pt-2 mb-0" >
486
- < div className = "text-secondary mb-0 h6" >
487
- < div >
488
- < div className = "mb-1" >
489
- < label className = { `form-check-label align-middle ${ getTextClass ( 'settings/copilot/suggest/temperature' ) } ` } htmlFor = "copilot-activate" >
490
- < FormattedMessage id = "settings.copilot.temperature" /> - < span > { copilotTemperatureValue / 100 } </ span >
491
- </ label >
492
- < input onChange = { onchangeCopilotTemperature } id = "copilot-temperature" value = { copilotTemperatureValue } min = '0' max = '100' type = "range" className = "custom-range" />
493
- </ div >
494
- </ div >
495
- </ div >
496
- </ div >
497
-
498
- </ div >
499
- </ div >
500
- )
501
-
502
451
const ipfsSettings = ( ) => (
503
452
< div className = "border-top" >
504
453
< div className = "card-body pt-3 pb-2" >
@@ -577,7 +526,6 @@ export const RemixUiSettings = (props: RemixUiSettingsProps) => {
577
526
< div >
578
527
{ state . message ? < Toaster message = { state . message } /> : null }
579
528
{ generalConfig ( ) }
580
- { copilotSettings ( ) }
581
529
< GithubSettings
582
530
saveToken = { ( githubToken : string , githubUserName : string , githubEmail : string ) => {
583
531
saveTokenToast ( props . config , dispatchToast , githubToken , 'gist-access-token' )
0 commit comments