Repository navigation
Conversation
Member
|
Thanks @jiangyq9 — verified safe (nothing in llm.py ever consumes a stream; every result is read as |
safishamsi
pushed a commit
that referenced
this pull request
Jun 27, 2026
Some OpenAI-compatible gateways default to SSE streaming when `stream` is omitted, but graphify always reads the result as a single resp.choices[0]. The call would then fail against those gateways. Pass `stream: False` explicitly. Ported from PR #1482 by @jiangyq9 (covers the extraction dispatch path, _call_openai_compat). Maintainer fix on top: applied the same `stream: False` to the second OpenAI-compatible call site, _call_llm, which feeds the --dedup-llm tiebreaker and had the identical bug. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
PerryLin-0420
pushed a commit
to PerryLin-0420/graphify-decouple
that referenced
this pull request
Aug 13, 2026
…bs#1223) Some OpenAI-compatible gateways default to SSE streaming when `stream` is omitted, but graphify always reads the result as a single resp.choices[0]. The call would then fail against those gateways. Pass `stream: False` explicitly. Ported from PR Graphify-Labs#1482 by @jiangyq9 (covers the extraction dispatch path, _call_openai_compat). Maintainer fix on top: applied the same `stream: False` to the second OpenAI-compatible call site, _call_llm, which feeds the --dedup-llm tiebreaker and had the identical bug. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
stream: Falseon OpenAI-compatible chat completion callsFixes #1223
Testing