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 (
|
|
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