File tree 1 file changed +8
-6
lines changed
assets/javascripts/discourse/components
1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -451,8 +451,8 @@ export default class PersonaEditor extends Component {
451
451
@ content ={{I18n.t " discourse_ai.ai_persona.max_context_posts_help" }}
452
452
/>
453
453
</div >
454
- < div class = " control-group " >
455
- {{# if this . showTemperature }}
454
+ {{# if this . showTemperature }}
455
+ < div class = " control-group " >
456
456
<label >{{I18n.t " discourse_ai.ai_persona.temperature" }} </label >
457
457
<Input
458
458
@ type =" number"
@@ -466,8 +466,10 @@ export default class PersonaEditor extends Component {
466
466
@ icon =" question-circle"
467
467
@ content ={{I18n.t " discourse_ai.ai_persona.temperature_help" }}
468
468
/>
469
- {{/if }}
470
- {{#if this . showTopP }}
469
+ </div >
470
+ {{/if }}
471
+ {{#if this . showTopP }}
472
+ <div class =" control-group" >
471
473
<label >{{I18n.t " discourse_ai.ai_persona.top_p" }} </label >
472
474
<Input
473
475
@ type =" number"
@@ -481,8 +483,8 @@ export default class PersonaEditor extends Component {
481
483
@ icon =" question-circle"
482
484
@ content ={{I18n.t " discourse_ai.ai_persona.top_p_help" }}
483
485
/>
484
- {{/ if }}
485
- </ div >
486
+ </ div >
487
+ {{/ if }}
486
488
{{#if this . siteSettings.ai_embeddings_enabled }}
487
489
<div class =" control-group" >
488
490
<PersonaRagUploader
You can’t perform that action at this time.
0 commit comments