Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .netconfig
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,8 @@
weak
[file "src/xAI.Protocol/chat.proto"]
url = https://github.com/xai-org/xai-proto/blob/main/proto/xai/api/v1/chat.proto
sha = c9345abd85649ecb5b27fe8708f573b4ab9d6971
etag = a64a560fdac1cb6d349d38b19a58605fa59169879f3d6d517518e573fd137b8c
sha = 64093a42a740c2b28d62281db11ee633c1df6ea1
etag = 1b338f15c0b8b4358f70c6aeea4c64d7f1d3517d27cf245214c064d28675b84a
weak
[file "src/xAI.Protocol/deferred.proto"]
url = https://github.com/xai-org/xai-proto/blob/main/proto/xai/api/v1/deferred.proto
Expand Down Expand Up @@ -192,8 +192,8 @@
weak
[file "src/xAI.Protocol/usage.proto"]
url = https://github.com/xai-org/xai-proto/blob/main/proto/xai/api/v1/usage.proto
sha = 362749661fa2d340d234ad372fab920538897821
etag = 9fcf9731a547857d554e968968aedc3016fc5210e0a45d5b59d75a03b816a81e
sha = 64093a42a740c2b28d62281db11ee633c1df6ea1
etag = ab94abd9c126b5ade766ec41f1e200412de6b37b4b2ed224897df72ab9e162bb
weak
[file "src/xAI.Protocol/video.proto"]
url = https://github.com/xai-org/xai-proto/blob/main/proto/xai/api/v1/video.proto
Expand Down
3 changes: 3 additions & 0 deletions src/xAI.Protocol/chat.proto
Original file line number Diff line number Diff line change
Expand Up @@ -675,6 +675,9 @@ message WebSearch {
// Setting this will make the agentic search results more relevant to the specified location,
// which is useful for geolocation-based search results refinement.
optional WebSearchUserLocation user_location = 4;

// Enable image search results that can be embedded in responses.
optional bool enable_image_search = 5;
}

// The user location to use for a preference on the search results.
Expand Down
2 changes: 1 addition & 1 deletion src/xAI.Protocol/usage.proto
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
syntax = "proto3";
option csharp_namespace = "xAI.Protocol";

package xai_api;

Expand Down Expand Up @@ -65,4 +64,5 @@ enum ServerSideTool {
SERVER_SIDE_TOOL_COLLECTIONS_SEARCH = 6;
SERVER_SIDE_TOOL_MCP = 7;
SERVER_SIDE_TOOL_ATTACHMENT_SEARCH = 8;
SERVER_SIDE_TOOL_IMAGE_SEARCH = 10;
}
Loading