Skip to content

Commit 8bcc2b7

Browse files
Apply suggestion from @Copilot
Co-authored-by: Copilot <[email protected]>
1 parent 1f65af2 commit 8bcc2b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/common/connectionErrorHandler.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export type ConnectionErrorHandler = (
1414
export const connectionErrorHandler: ConnectionErrorHandler = (error, { availableTools, connectionState }) => {
1515
const connectTools = availableTools
1616
.filter((t) => t.operationType === "connect")
17-
.sort((a, b) => a.category.localeCompare(b.category)); // Sort Altas tools before MongoDB tools
17+
.sort((a, b) => a.category.localeCompare(b.category)); // Sort Atlas tools before MongoDB tools
1818

1919
// Find the first Atlas connect tool if available and suggest to the LLM to use it.
2020
// Note: if we ever have multiple Atlas connect tools, we may want to refine this logic to select the most appropriate one.

0 commit comments

Comments
 (0)