From 9f22873e057f9787a01c7ed63e87f2d4522ca007 Mon Sep 17 00:00:00 2001 From: Pamela Fox Date: Tue, 4 Feb 2025 17:05:48 -0800 Subject: [PATCH 1/2] Fix CI --- src/quartapp/chat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/quartapp/chat.py b/src/quartapp/chat.py index 6374d85..6e3dd3c 100644 --- a/src/quartapp/chat.py +++ b/src/quartapp/chat.py @@ -47,7 +47,7 @@ async def configure_openai(): endpoint=os.environ["AZURE_INFERENCE_ENDPOINT"], credential=azure_credential, credential_scopes=["https://cognitiveservices.azure.com/.default"], - model="DeepSeek-R1" + model="DeepSeek-R1", ) From a097f7c46255ee903e020843da714038bf04a48d Mon Sep 17 00:00:00 2001 From: Pamela Fox Date: Tue, 4 Feb 2025 17:17:46 -0800 Subject: [PATCH 2/2] Use markdown converter or thoughts too --- src/quartapp/templates/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/quartapp/templates/index.html b/src/quartapp/templates/index.html index 7a6e53f..7430215 100644 --- a/src/quartapp/templates/index.html +++ b/src/quartapp/templates/index.html @@ -118,7 +118,7 @@ // Only show thoughts if they are more than just whitespace messageDiv.querySelector(".loading-bar").style.display = "none"; messageDiv.querySelector(".thoughts").style.display = "block"; - messageDiv.querySelector(".thoughts-content").innerHTML = thoughts; + messageDiv.querySelector(".thoughts-content").innerHTML = converter.makeHtml(thoughts); } } else { messageDiv.querySelector(".loading-bar").style.display = "none";