-
Notifications
You must be signed in to change notification settings - Fork 58
Add QueryRequest.media_type for backwards compatibility. #242
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add QueryRequest.media_type for backwards compatibility. #242
Conversation
WalkthroughAn optional Changes
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (2)
🧰 Additional context used🧬 Code Graph Analysis (1)src/models/requests.py (1)
🔇 Additional comments (5)
✨ Finishing Touches
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
tisnik
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok!
|
Hmm that means that now we need to implement plain/text for /streaming_query. And IIRC, plain/text was the default format too. |
Yes, I believe the default in |
Description
Add
QueryRequest.media_typefor backwards compatibility withroad-coreclients.Ansible Lightspeed currently uses
road-coreand we are switching it tolightspeed-stack.To avoid making changes to our client code I testing/fixing compatibility issues.
This PR adds
media_typebut logs that it's use is not supported.Type of change
Related Tickets & Documents
Checklist before requesting a review
Testing
Summary by CodeRabbit
New Features
Tests