fix: correct spelling in error messages and documentation (#2840)

This commit is contained in:
Tyler White
2025-06-13 17:56:11 -04:00
committed by GitHub
parent 6d954bcbf4
commit 7e40cd4637
6 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ pub enum ExtensionError {
Initialization(ExtensionConfig, ClientError),
#[error("Failed a client call to an MCP server: {0}")]
Client(#[from] ClientError),
#[error("User Message exceeded context-limit. History could not be truncated to accomodate.")]
#[error("User Message exceeded context-limit. History could not be truncated to accommodate.")]
ContextLimit,
#[error("Transport error: {0}")]
Transport(#[from] mcp_client::transport::Error),
+1 -1
View File
@@ -45,7 +45,7 @@ pub fn vector_search_tool() -> Tool {
pub fn vector_search_tool_prompt() -> String {
r#"# Tool Selection Instructions
Imporant: the user has opted to dynamically enable tools, so although an extension could be enabled, \
Important: the user has opted to dynamically enable tools, so although an extension could be enabled, \
please invoke the vector search tool to actually retrieve the most relevant tools to use according to the user's messages.
For example, if the user has 3 extensions enabled, but they are asking for a tool to read a pdf file, \
you would invoke the vector_search tool to find the most relevant read pdf tool.