Skip to content

Commit 74828f2

Browse files
committed
⬆️ Bump files with dotnet-file sync
# devlooped/oss - Update branches for push event in build.yml devlooped/oss@5da103c # xai-org/xai-proto - Add user-location config to web-search config (#25) xai-org/xai-proto@7dc7323
1 parent f380d42 commit 74828f2

3 files changed

Lines changed: 25 additions & 8 deletions

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ on:
1212
- Release
1313
- Debug
1414
push:
15-
branches: [ main, dev, 'dev/*', 'feature/*', 'rel/*' ]
15+
branches: [ main, 'feature/*', 'rel/*' ]
1616
paths-ignore:
1717
- changelog.md
1818
- readme.md
@@ -72,9 +72,6 @@ jobs:
7272
run: dotnet build -m:1 -bl:build.binlog
7373

7474
- name: 🧪 test
75-
env:
76-
CI_XAI_API_KEY: ${{ secrets.CI_XAI_API_KEY }}
77-
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
7875
shell: pwsh
7976
run: dnx --yes retest -- --no-build
8077

.netconfig

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@
4040
weak
4141
[file ".github/workflows/build.yml"]
4242
url = https://github.com/devlooped/oss/blob/main/.github/workflows/build.yml
43-
sha = 7f5f9ee9f362f7e8f951d618f8f799033550e687
44-
etag = a04ce46114292f5c0e76bc1f260381b174c93d6f264749dfacbfc892238bec73
43+
sha = 5da103cfbc1c4f9b5f59cfa698d2afbd744a7525
44+
etag = 851af098748f7cfa5bc3cfd4cc404a6de930532b59ceb2b3b535282c41226f3a
4545
weak
4646
[file ".github/workflows/changelog.config"]
4747
url = https://github.com/devlooped/oss/blob/main/.github/workflows/changelog.config
@@ -127,8 +127,8 @@
127127
weak
128128
[file "src/xAI.Protocol/chat.proto"]
129129
url = https://github.com/xai-org/xai-proto/blob/main/proto/xai/api/v1/chat.proto
130-
sha = f6d4d709515fd666ebeb7dfcb89bd50e58c859d9
131-
etag = a3ef7183a220c08fd57b7a197090a6a8e6e89028e0477184bf73e61b4b7da6ff
130+
sha = 7dc7323e9c7dbbeced78e55fe913c6589079a771
131+
etag = 225d09e19a7d307da09eb962acfdbbe880d59b5ee54e5cbf10df989e5ac3581d
132132
weak
133133
[file "src/xAI.Protocol/deferred.proto"]
134134
url = https://github.com/xai-org/xai-proto/blob/main/proto/xai/api/v1/deferred.proto

src/xAI.Protocol/chat.proto

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -623,6 +623,26 @@ message WebSearch {
623623
// Enable image understanding in downstream tools (e.g. allow fetching and interpreting images).
624624
// When true, the server may add image viewing tools to the active MCP toolset.
625625
optional bool enable_image_understanding = 3;
626+
627+
// The user location to use for a preference on the search results.
628+
// Setting this will make the agentic search results more relevant to the specified location,
629+
// which is useful for geolocation-based search results refinement.
630+
optional WebSearchUserLocation user_location = 4;
631+
}
632+
633+
// The user location to use for a preference on the search results.
634+
message WebSearchUserLocation {
635+
// Two-letter ISO 3166-1 alpha-2 country code, like US, GB, etc.
636+
optional string country = 1;
637+
638+
// Free text string for the city.
639+
optional string city = 2;
640+
641+
// Free text string for the region.
642+
optional string region = 3;
643+
644+
// IANA timezone like America/Chicago, Europe/London, etc.
645+
optional string timezone = 4;
626646
}
627647

628648
message XSearch {

0 commit comments

Comments
 (0)