diff --git a/core/config/load.ts b/core/config/load.ts index 5c21a0656..1e16913e5 100644 --- a/core/config/load.ts +++ b/core/config/load.ts @@ -505,8 +505,8 @@ async function intermediateToFinalConfig( mcpConnection.modifyConfig(continueConfig), new Promise((_, reject) => setTimeout( - () => reject(new Error("MCP connection timed out after 1000ms")), - 1000, + () => reject(new Error("MCP connection timed out after 2000ms")), + 2000, ), ), ]).catch((error) => { diff --git a/core/tools/definitions/exactSearch.ts b/core/tools/definitions/exactSearch.ts index 99d243f91..8358b55da 100644 --- a/core/tools/definitions/exactSearch.ts +++ b/core/tools/definitions/exactSearch.ts @@ -8,14 +8,15 @@ export const exactSearchTool: Tool = { readonly: true, function: { name: BuiltInToolNames.ExactSearch, - description: "Perform an exact search over the repository using ripgrep", + description: "Perform an exact search over the repository using ripgrep.", parameters: { type: "object", required: ["query"], properties: { query: { type: "string", - description: "The search query to use", + description: + "The search query to use. Must be a valid ripgrep regex expression, escaped where needed", }, }, }, diff --git a/gui/src/pages/gui/Chat.tsx b/gui/src/pages/gui/Chat.tsx index b65e571b2..f297e71da 100644 --- a/gui/src/pages/gui/Chat.tsx +++ b/gui/src/pages/gui/Chat.tsx @@ -371,11 +371,13 @@ export function Chat() {