diff --git a/.netconfig b/.netconfig index c836711..4d229c7 100644 --- a/.netconfig +++ b/.netconfig @@ -127,8 +127,8 @@ weak [file "src/GrokClient/chat.proto"] url = https://github.com/xai-org/xai-proto/blob/main/proto/xai/api/v1/chat.proto - sha = 92e44aad6de6f4dff4034c2ba118a6aed3351711 - etag = 9d685da14ef9bc269ed6f29b87f6874bb5eb4662586092a221c90fabdac40418 + sha = 362749661fa2d340d234ad372fab920538897821 + etag = 0e35007f9056fd101983a35614525773ea215eec9a8fa6707c2ec4866da5b7f8 weak [file "src/GrokClient/deferred.proto"] url = https://github.com/xai-org/xai-proto/blob/main/proto/xai/api/v1/deferred.proto @@ -167,8 +167,8 @@ weak [file "src/GrokClient/usage.proto"] url = https://github.com/xai-org/xai-proto/blob/main/proto/xai/api/v1/usage.proto - sha = afc88be2698cf4fb5ad476734d02b931241c0624 - etag = e760ecb2f328565e57bbd0ad1fec6a62004088c8b217c0cb178653cd2c1bf432 + sha = 362749661fa2d340d234ad372fab920538897821 + etag = bd66823dfde1a2fff714d3712104bef886baf22da9f94c7505acee37d3ff67fd weak [file "src/GrokClient/google/protobuf/timestamp.proto"] url = https://github.com/protocolbuffers/protobuf/blob/main/src/google/protobuf/timestamp.proto diff --git a/src/GrokClient/chat.proto b/src/GrokClient/chat.proto index 525d79f..e07f0e7 100644 --- a/src/GrokClient/chat.proto +++ b/src/GrokClient/chat.proto @@ -463,8 +463,8 @@ enum IncludeOption { // Include the plaintext output from the collections search tool in the response. INCLUDE_OPTION_COLLECTIONS_SEARCH_CALL_OUTPUT = 4; - // Include the plaintext output from the document search tool in the response. - INCLUDE_OPTION_DOCUMENT_SEARCH_CALL_OUTPUT = 5; + // Include the plaintext output from the attachment search tool in the response. + INCLUDE_OPTION_ATTACHMENT_SEARCH_CALL_OUTPUT = 5; // Include the plaintext output from the MCP tool in the response. INCLUDE_OPTION_MCP_CALL_OUTPUT = 6; @@ -585,8 +585,8 @@ message Tool { CollectionsSearch collections_search = 6; // A remote MCP server to use. MCP mcp = 7; - // Built in document search. - DocumentSearch document_search = 8; + // Built in attachment search. + AttachmentSearch attachment_search = 8; } } @@ -668,7 +668,7 @@ message CollectionsSearch { optional int32 limit = 2; } -message DocumentSearch { +message AttachmentSearch { // Optional number of files to limit the search to. optional int32 limit = 2; } @@ -714,8 +714,9 @@ enum ToolCallType { // Maps to `mcp_call` type in OAI Responses API. TOOL_CALL_TYPE_MCP_TOOL = 6; - // Indicates the tool is a server-side document_search tool, and client side won't need to execute. - TOOL_CALL_TYPE_DOCUMENT_SEARCH_TOOL = 7; + // Indicates the tool is a server-side attachment_search tool, and client side won't need to execute. + // Maps to `attachment_search_call` type in OAI Responses API. + TOOL_CALL_TYPE_ATTACHMENT_SEARCH_TOOL = 7; } enum ToolCallStatus { diff --git a/src/GrokClient/usage.proto b/src/GrokClient/usage.proto index a4aae07..06669b1 100644 --- a/src/GrokClient/usage.proto +++ b/src/GrokClient/usage.proto @@ -56,5 +56,5 @@ enum ServerSideTool { SERVER_SIDE_TOOL_VIEW_X_VIDEO = 5; SERVER_SIDE_TOOL_COLLECTIONS_SEARCH = 6; SERVER_SIDE_TOOL_MCP = 7; - SERVER_SIDE_TOOL_DOCUMENT_SEARCH = 8; + SERVER_SIDE_TOOL_ATTACHMENT_SEARCH = 8; }