From 8bd4836cd75e3f045e96373d571d7bcf5a494d20 Mon Sep 17 00:00:00 2001 From: Storme-bit Date: Sat, 18 Apr 2026 02:40:31 -0700 Subject: [PATCH] model temperature settings --- .../chat-client/src/components/SettingsView.jsx | 14 ++++++++++++++ packages/orchestration-service/src/chat/index.js | 8 ++++---- .../orchestration-service/src/config/settings.js | 3 ++- packages/shared/src/config/constants.js | 1 + 4 files changed, 21 insertions(+), 5 deletions(-) diff --git a/packages/chat-client/src/components/SettingsView.jsx b/packages/chat-client/src/components/SettingsView.jsx index 91a65e0..16380a6 100644 --- a/packages/chat-client/src/components/SettingsView.jsx +++ b/packages/chat-client/src/components/SettingsView.jsx @@ -241,6 +241,7 @@ function ServiceHealth() { function ModelsSection({ onNavigate }) { const { models, selectedModel, setSelectedModel } = useModels(); const [selectedInfo, setSelectedInfo] = useState(null); + const {settings, saveSetting, saving} = useSettings(); // Sync info panel when selection changes useEffect(() => { @@ -255,6 +256,19 @@ function ModelsSection({ onNavigate }) { description="Path to folder containing .gguf files" action={} /> + saveSetting('temperature', val)} + saving={saving} + /> + } + />