diff --git a/studio/frontend/src/features/chat/chat-settings-sheet.tsx b/studio/frontend/src/features/chat/chat-settings-sheet.tsx index 6b518b7165..7daedb2241 100644 --- a/studio/frontend/src/features/chat/chat-settings-sheet.tsx +++ b/studio/frontend/src/features/chat/chat-settings-sheet.tsx @@ -1078,126 +1078,124 @@ export function ChatSettingsPanel({ } /> > - ): null} - - {!isExternalModel && !isGguf && ( + ) : null} - )} - = ggufContextLength - ? "Max" - : undefined - } - /> - - - - {modelSection} - - {!isExternalModel ? ( - <> - - - - - - - - - - > - ) : null} - - - { - setSystemPromptEditorOpen(nextOpen); - }} - > - - - Edit System Prompt - - This prompt is part of the current configuration and saves with - the preset. - - - - - Prompt editor - - Use this for longer edits. Save writes back to the active - configuration only. - - - setSystemPromptDraft(event.target.value)} - placeholder="You are a helpful assistant..." - fieldSizing="fixed" - className="min-h-[24rem] max-h-[50vh] overflow-y-auto text-sm leading-6 corner-squircle" - rows={14} + {!isExternalModel && !isGguf && ( + + )} + = ggufContextLength + ? "Max" + : undefined + } /> - - { - setSystemPromptDraft(params.systemPrompt); - setSystemPromptEditorOpen(false); - }} - > - Cancel - - - Save - - - - - > - ); + + + {modelSection} + + {!isExternalModel ? ( + <> + + + + + + + + + + > + ) : null} + + + { + setSystemPromptEditorOpen(nextOpen); + }} + > + + + Edit System Prompt + + This prompt is part of the current configuration and saves with + the preset. + + + + + Prompt editor + + Use this for longer edits. Save writes back to the active + configuration only. + + + setSystemPromptDraft(event.target.value)} + placeholder="You are a helpful assistant..." + fieldSizing="fixed" + className="min-h-[24rem] max-h-[50vh] overflow-y-auto text-sm leading-6 corner-squircle" + rows={14} + /> + + + { + setSystemPromptDraft(params.systemPrompt); + setSystemPromptEditorOpen(false); + }} + > + Cancel + + + Save + + + + + > + ); if (isMobile) { return (
- Use this for longer edits. Save writes back to the active - configuration only. -
+ Use this for longer edits. Save writes back to the active + configuration only. +