fix(mcp): prefer application/json over SSE when client accepts both#28558
Conversation
|
Hi there 👋 Thanks for your contribution! The OpenMetadata team will review the PR shortly! Once it has been labeled as Let us know if you need any help! |
Code Review ✅ Approved 1 resolved / 1 findingsUpdates MCP response negotiation to prioritize ✅ 1 resolved✅ Edge Case: Missing test for shouldEmitSse(false, false)
OptionsDisplay: compact → Showing less information. Comment with these commands to change:
Was this helpful? React with 👍 / 👎 | Gitar |
🟡 Playwright Results — all passed (18 flaky)✅ 4253 passed · ❌ 0 failed · 🟡 18 flaky · ⏭️ 88 skipped
🟡 18 flaky test(s) (passed on retry)
How to debug locally# Download playwright-test-results-<shard> artifact and unzip
npx playwright show-trace path/to/trace.zip # view trace |
|
Changes have been cherry-picked to the 1.12.10 branch. |
|
Changes have been cherry-picked to the 1.13 branch. |
data: ...) to clients that expected JSON, so they couldn't read it (e.g. the ai-sdk Python client).