diff --git a/studio/backend/routes/models.py b/studio/backend/routes/models.py index bd64ae7196..868f3aaf33 100644 --- a/studio/backend/routes/models.py +++ b/studio/backend/routes/models.py @@ -770,7 +770,8 @@ def _get_repo_size_cached(repo_id: str) -> int: total = sum(s.size for s in info.siblings if s.size) _repo_size_cache[repo_id] = total return total - except Exception: + except Exception as e: + logger.warning(f"Failed to get repo size for {repo_id}: {e}") return 0 diff --git a/studio/frontend/src/features/chat/chat-settings-sheet.tsx b/studio/frontend/src/features/chat/chat-settings-sheet.tsx index b0032eb0cd..bb2b05f9da 100644 --- a/studio/frontend/src/features/chat/chat-settings-sheet.tsx +++ b/studio/frontend/src/features/chat/chat-settings-sheet.tsx @@ -26,6 +26,7 @@ import { DEFAULT_INFERENCE_PARAMS, type InferenceParams, } from "./types/runtime"; +import { useChatRuntimeStore } from "./stores/chat-runtime-store"; import { Switch } from "@/components/ui/switch"; export const defaultInferenceParams = DEFAULT_INFERENCE_PARAMS; @@ -67,6 +68,7 @@ function ParamSlider({ max, step, onChange, + displayValue, }: { label: string; value: number; @@ -74,13 +76,14 @@ function ParamSlider({ max: number; step: number; onChange: (v: number) => void; + displayValue?: string; }) { return (