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
5 changes: 1 addition & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
- Release
- Debug
push:
branches: [ main, dev, 'dev/*', 'feature/*', 'rel/*' ]
branches: [ main, 'feature/*', 'rel/*' ]
paths-ignore:
- changelog.md
- readme.md
Expand Down Expand Up @@ -72,9 +72,6 @@ jobs:
run: dotnet build -m:1 -bl:build.binlog

- name: 🧪 test
env:
CI_XAI_API_KEY: ${{ secrets.CI_XAI_API_KEY }}
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
shell: pwsh
run: dnx --yes retest -- --no-build

Expand Down
8 changes: 4 additions & 4 deletions .netconfig
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@
weak
[file ".github/workflows/build.yml"]
url = https://github.com/devlooped/oss/blob/main/.github/workflows/build.yml
sha = 7f5f9ee9f362f7e8f951d618f8f799033550e687
etag = a04ce46114292f5c0e76bc1f260381b174c93d6f264749dfacbfc892238bec73
sha = 5da103cfbc1c4f9b5f59cfa698d2afbd744a7525
etag = 851af098748f7cfa5bc3cfd4cc404a6de930532b59ceb2b3b535282c41226f3a
weak
[file ".github/workflows/changelog.config"]
url = https://github.com/devlooped/oss/blob/main/.github/workflows/changelog.config
Expand Down Expand Up @@ -127,8 +127,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 = f6d4d709515fd666ebeb7dfcb89bd50e58c859d9
etag = a3ef7183a220c08fd57b7a197090a6a8e6e89028e0477184bf73e61b4b7da6ff
sha = 7dc7323e9c7dbbeced78e55fe913c6589079a771
etag = 225d09e19a7d307da09eb962acfdbbe880d59b5ee54e5cbf10df989e5ac3581d
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
20 changes: 20 additions & 0 deletions src/xAI.Protocol/chat.proto
Original file line number Diff line number Diff line change
Expand Up @@ -623,6 +623,26 @@ message WebSearch {
// Enable image understanding in downstream tools (e.g. allow fetching and interpreting images).
// When true, the server may add image viewing tools to the active MCP toolset.
optional bool enable_image_understanding = 3;

// The user location to use for a preference on the search results.
// 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;
}

// The user location to use for a preference on the search results.
message WebSearchUserLocation {
// Two-letter ISO 3166-1 alpha-2 country code, like US, GB, etc.
optional string country = 1;

// Free text string for the city.
optional string city = 2;

// Free text string for the region.
optional string region = 3;

// IANA timezone like America/Chicago, Europe/London, etc.
optional string timezone = 4;
}

message XSearch {
Expand Down