Do not trust stream:false until the CometAPI adapter preserves it
A stream:false option is only a promise if the adapter sends it unchanged and the application handles the resulting response as intended. The pinned LobeHub CometAPI provider shows why that distinction matters.
In packages/model-runtime/src/providers/cometapi/index.ts at commit 39bce329fdca4927e2bdca84a95f7cfd864f7629, handlePayload separates model from the payload and returns the rest of the fields with model and stream: true. That transformation overrides a caller’s stream:false. The evidence supports a narrow conclusion: this adapter revision forces the outgoing payload’s stream flag to true at that boundary. It does not establish what the shared runtime factory or application consumer does afterward.
CometAPI’s documentation describes an OpenAI-compatible endpoint at https://api.cometapi.com/v1 and demonstrates reading a completed message from a chat-completion response. That is useful service-level integration context, but compatibility documentation is not proof that a wrapper preserves every option. A maintainer integrating CometAPI through this adapter should therefore inspect the effective request and the downstream result consumer before advertising non-streaming behavior. Check the adapter’s final payload, then trace whether the consumer expects chunks, assembles them, or requires a completed object.
Do not “fix” the concern by merely buffering chunks in the application: buffering can produce a complete local result, but it does not make the upstream request non-streaming. Conversely, this source packet does not justify claiming that CometAPI rejects non-streaming requests, that every LobeHub version behaves this way, or that a live request has failed. The actionable decision is narrower: treat the option as untrusted until the pinned adapter and its consumer are verified together.