Skip to content

Commit a3a3ebe

Browse files
devlooped-botkzu
authored andcommitted
⬆️ Bump files with dotnet-file sync
# xai-org/xai-proto - Rename server-side document search tools to attachment search (#22) xai-org/xai-proto@3627496
1 parent 99790ba commit a3a3ebe

File tree

3 files changed

+13
-12
lines changed

3 files changed

+13
-12
lines changed

.netconfig

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,8 @@
127127
weak
128128
[file "src/GrokClient/chat.proto"]
129129
url = https://github.com/xai-org/xai-proto/blob/main/proto/xai/api/v1/chat.proto
130-
sha = 92e44aad6de6f4dff4034c2ba118a6aed3351711
131-
etag = 9d685da14ef9bc269ed6f29b87f6874bb5eb4662586092a221c90fabdac40418
130+
sha = 362749661fa2d340d234ad372fab920538897821
131+
etag = 0e35007f9056fd101983a35614525773ea215eec9a8fa6707c2ec4866da5b7f8
132132
weak
133133
[file "src/GrokClient/deferred.proto"]
134134
url = https://github.com/xai-org/xai-proto/blob/main/proto/xai/api/v1/deferred.proto
@@ -167,8 +167,8 @@
167167
weak
168168
[file "src/GrokClient/usage.proto"]
169169
url = https://github.com/xai-org/xai-proto/blob/main/proto/xai/api/v1/usage.proto
170-
sha = afc88be2698cf4fb5ad476734d02b931241c0624
171-
etag = e760ecb2f328565e57bbd0ad1fec6a62004088c8b217c0cb178653cd2c1bf432
170+
sha = 362749661fa2d340d234ad372fab920538897821
171+
etag = bd66823dfde1a2fff714d3712104bef886baf22da9f94c7505acee37d3ff67fd
172172
weak
173173
[file "src/GrokClient/google/protobuf/timestamp.proto"]
174174
url = https://github.com/protocolbuffers/protobuf/blob/main/src/google/protobuf/timestamp.proto

src/GrokClient/chat.proto

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -463,8 +463,8 @@ enum IncludeOption {
463463
// Include the plaintext output from the collections search tool in the response.
464464
INCLUDE_OPTION_COLLECTIONS_SEARCH_CALL_OUTPUT = 4;
465465

466-
// Include the plaintext output from the document search tool in the response.
467-
INCLUDE_OPTION_DOCUMENT_SEARCH_CALL_OUTPUT = 5;
466+
// Include the plaintext output from the attachment search tool in the response.
467+
INCLUDE_OPTION_ATTACHMENT_SEARCH_CALL_OUTPUT = 5;
468468

469469
// Include the plaintext output from the MCP tool in the response.
470470
INCLUDE_OPTION_MCP_CALL_OUTPUT = 6;
@@ -585,8 +585,8 @@ message Tool {
585585
CollectionsSearch collections_search = 6;
586586
// A remote MCP server to use.
587587
MCP mcp = 7;
588-
// Built in document search.
589-
DocumentSearch document_search = 8;
588+
// Built in attachment search.
589+
AttachmentSearch attachment_search = 8;
590590
}
591591
}
592592

@@ -668,7 +668,7 @@ message CollectionsSearch {
668668
optional int32 limit = 2;
669669
}
670670

671-
message DocumentSearch {
671+
message AttachmentSearch {
672672
// Optional number of files to limit the search to.
673673
optional int32 limit = 2;
674674
}
@@ -714,8 +714,9 @@ enum ToolCallType {
714714
// Maps to `mcp_call` type in OAI Responses API.
715715
TOOL_CALL_TYPE_MCP_TOOL = 6;
716716

717-
// Indicates the tool is a server-side document_search tool, and client side won't need to execute.
718-
TOOL_CALL_TYPE_DOCUMENT_SEARCH_TOOL = 7;
717+
// Indicates the tool is a server-side attachment_search tool, and client side won't need to execute.
718+
// Maps to `attachment_search_call` type in OAI Responses API.
719+
TOOL_CALL_TYPE_ATTACHMENT_SEARCH_TOOL = 7;
719720
}
720721

721722
enum ToolCallStatus {

src/GrokClient/usage.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,5 +56,5 @@ enum ServerSideTool {
5656
SERVER_SIDE_TOOL_VIEW_X_VIDEO = 5;
5757
SERVER_SIDE_TOOL_COLLECTIONS_SEARCH = 6;
5858
SERVER_SIDE_TOOL_MCP = 7;
59-
SERVER_SIDE_TOOL_DOCUMENT_SEARCH = 8;
59+
SERVER_SIDE_TOOL_ATTACHMENT_SEARCH = 8;
6060
}

0 commit comments

Comments
 (0)