You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Add xai-sdk-version to the request metadata
## Checklist
- [x] I have read both the [CONTRIBUTING.md](CONTRIBUTING.md) and
[Contributor License Agreement](CLA.md) documents.
- [x] I have created an issue or feature request and received approval
from xAI maintainers. (minor changes like fixing typos can skip this
step)
- [x] I have tested my changes locally and they pass all CI checks.
- [x] I have added necessary documentation or updated existing
documentation.
## Description
Add `xai-sdk-version` as a new metadata into the request header.
Tested locally, the sdk-version can be successfully read from the server
side.
## Related Issue
If applicable, link to the related feature request or bug report issue
(e.g., #123). If none, state "N/A".
## Type of Change
- [ ] Bug fix
- [x] New feature
- [ ] Documentation update
- [ ] Other (please specify)
## Additional Notes
Add any other information or context that might be helpful for
reviewers.
0 commit comments