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
{{ message }}
Repository navigation
bug(llm): watsonx streaming POSTs to non-streaming /ml/v1/text/chat endpoint #942
WatsonxLLM.stream_with_messages POSTs to /ml/v1/text/chat with a "stream": true body field. IBM watsonx.ai does not stream from that endpoint — streaming is a dedicated endpoint, /ml/v1/text/chat_stream, and stream is not part of the chat request schema.
Against the real API this either returns a single non-SSE JSON body (no incremental streaming, higher latency; the defensive parser masks it) or errors on the unknown field. The respx contract test hid this by mocking an SSE response against the /ml/v1/text/chat URL.
Introduced in #941 (src/synapsekit/llm/watsonx.py). Falls in the recurring "wrong-real-API" backend-integration bug class.
Fix: route the streaming path to /ml/v1/text/chat_stream and drop the stream body field; assert the chat_stream path in the streaming contract test so it can't regress.
Activity
fix(llm): stream watsonx from chat_stream endpoint (closes SynapseKit…
Merge SynapseKit#941: add 11 LLM providers (closes SynapseKit#887)