We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f65af2 commit 8bcc2b7Copy full SHA for 8bcc2b7
src/common/connectionErrorHandler.ts
@@ -14,7 +14,7 @@ export type ConnectionErrorHandler = (
14
export const connectionErrorHandler: ConnectionErrorHandler = (error, { availableTools, connectionState }) => {
15
const connectTools = availableTools
16
.filter((t) => t.operationType === "connect")
17
- .sort((a, b) => a.category.localeCompare(b.category)); // Sort Altas tools before MongoDB tools
+ .sort((a, b) => a.category.localeCompare(b.category)); // Sort Atlas tools before MongoDB tools
18
19
// Find the first Atlas connect tool if available and suggest to the LLM to use it.
20
// 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