diff --git a/surfsense_backend/app/schemas/new_chat.py b/surfsense_backend/app/schemas/new_chat.py
index 0881f997f..7a29fc678 100644
--- a/surfsense_backend/app/schemas/new_chat.py
+++ b/surfsense_backend/app/schemas/new_chat.py
@@ -198,7 +198,9 @@ class RegenerateRequest(BaseModel):
"""
search_space_id: int
- user_query: str | None = None # New user query (for edit). None = reload with same query
+ user_query: str | None = (
+ None # New user query (for edit). None = reload with same query
+ )
attachments: list[ChatAttachment] | None = None
mentioned_document_ids: list[int] | None = None
mentioned_surfsense_doc_ids: list[int] | None = None
diff --git a/surfsense_web/app/dashboard/[search_space_id]/new-chat/[[...chat_id]]/page.tsx b/surfsense_web/app/dashboard/[search_space_id]/new-chat/[[...chat_id]]/page.tsx
index 84b3f93ff..59e7878c4 100644
--- a/surfsense_web/app/dashboard/[search_space_id]/new-chat/[[...chat_id]]/page.tsx
+++ b/surfsense_web/app/dashboard/[search_space_id]/new-chat/[[...chat_id]]/page.tsx
@@ -1107,7 +1107,10 @@ export default function NewChatPage() {
setMessageThinkingSteps((prev) => {
const newMap = new Map(prev);
// Remove thinking steps for the last two messages
- const lastTwoIds = messages.slice(-2).map((m) => m.id).filter((id): id is string => !!id);
+ const lastTwoIds = messages
+ .slice(-2)
+ .map((m) => m.id)
+ .filter((id): id is string => !!id);
for (const id of lastTwoIds) {
newMap.delete(id);
}
@@ -1410,9 +1413,7 @@ export default function NewChatPage() {
m.id === assistantMsgId
? {
...m,
- content: [
- { type: "text", text: "Sorry, there was an error. Please try again." },
- ],
+ content: [{ type: "text", text: "Sorry, there was an error. Please try again." }],
}
: m
)
diff --git a/surfsense_web/components/assistant-ui/connector-popup/connector-configs/components/obsidian-config.tsx b/surfsense_web/components/assistant-ui/connector-popup/connector-configs/components/obsidian-config.tsx
index f79f2953a..b1b00b4ca 100644
--- a/surfsense_web/components/assistant-ui/connector-popup/connector-configs/components/obsidian-config.tsx
+++ b/surfsense_web/components/assistant-ui/connector-popup/connector-configs/components/obsidian-config.tsx
@@ -179,10 +179,7 @@ export const ObsidianConfig: FC