diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ab7d262..94db3ff 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -12,7 +12,7 @@ on: - Release - Debug push: - branches: [ main, dev, 'dev/*', 'feature/*', 'rel/*' ] + branches: [ main, 'feature/*', 'rel/*' ] paths-ignore: - changelog.md - readme.md @@ -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 diff --git a/.netconfig b/.netconfig index 7f95eff..c76b74b 100644 --- a/.netconfig +++ b/.netconfig @@ -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 @@ -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 diff --git a/src/xAI.Protocol/chat.proto b/src/xAI.Protocol/chat.proto index d931556..2788813 100644 --- a/src/xAI.Protocol/chat.proto +++ b/src/xAI.Protocol/chat.proto @@ -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 {