Skip to content

Add url support for FileContent#123

Merged
shawnthapa merged 1 commit intomainfrom
user/sthapa/file-url-content
Mar 27, 2026
Merged

Add url support for FileContent#123
shawnthapa merged 1 commit intomainfrom
user/sthapa/file-url-content

Conversation

@shawnthapa
Copy link
Copy Markdown
Contributor

Add URL support for FileContent

Checklist

  • I have read both the CONTRIBUTING.md and Contributor License Agreement documents.
  • I have created an issue or feature request and received approval from xAI maintainers. (minor changes like fixing typos can skip this step)
  • I have tested my changes locally and they pass all CI checks.
  • I have added necessary documentation or updated existing documentation.

Description

Adds SDK support for the new url field on FileContent in the proto, allowing users to attach files via public URL in addition to the existing file_id and inline data modes.

Related Issue

N/A.

Type of Change

  • Bug fix
  • New feature
  • Documentation update
  • Other (please specify)

@shawnthapa shawnthapa requested a review from a team as a code owner March 27, 2026 04:36
@shawnthapa shawnthapa merged commit 35a752c into main Mar 27, 2026
7 checks passed
@shawnthapa shawnthapa deleted the user/sthapa/file-url-content branch March 27, 2026 06:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants