Skip to content

Conversation

@shawnthapa
Copy link
Contributor

Deprecated upsampled prompt in image response

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

The up_sampled_prompt field has been reserved and dropped from the GeneratedImage proto. The .prompt property now returns an empty string and emits a DeprecationWarning.

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 February 10, 2026 01:35
@shawnthapa shawnthapa merged commit 62a27c5 into main Feb 10, 2026
7 checks passed
@shawnthapa shawnthapa deleted the user/sthapa/deprecate-image-response-prompt branch February 10, 2026 01:38
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