From 83b0417f6c8c579d0ea5a0f689eceb822fe7a04d Mon Sep 17 00:00:00 2001
From: Nate Sesti <sestinj@gmail.com>
Date: Tue, 26 Sep 2023 12:33:15 -0700
Subject: fix: :ambulance: class_name hotfix

---
 extension/react-app/src/components/ModelSettings.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'extension/react-app/src/components/ModelSettings.tsx')

diff --git a/extension/react-app/src/components/ModelSettings.tsx b/extension/react-app/src/components/ModelSettings.tsx
index ac5a344b..4b9d5e64 100644
--- a/extension/react-app/src/components/ModelSettings.tsx
+++ b/extension/react-app/src/components/ModelSettings.tsx
@@ -53,7 +53,7 @@ function ModelSettings(props: { llm: any | undefined; role: string }) {
     <Div dashed={typeof props.llm === undefined}>
       {props.llm ? (
         <>
-          <b>{props.role}</b>: <b> {props.llm.class_name || "gpt-4"}</b>
+          <b>{props.role}</b>: <b> {props.llm?.class_name || "gpt-4"}</b>
           <form>
             {typeof modelOptions.api_key !== undefined && (
               <>
-- 
cgit v1.2.3-70-g09d2

