fix: respect non-streaming executor mode for custom openai subagents

This commit is contained in:
Carl-Robert Linnupuu 2026-03-31 13:14:13 +01:00
parent f15edcf2c4
commit 34a83a9854

View file

@ -235,7 +235,7 @@ class CustomOpenAILLMClient(
): String {
val state = requireChatState()
val customParams: CustomOpenAIParams = params.toCustomOpenAIParams(state)
val streamRequest = state.shouldStream()
val streamRequest = stream && state.shouldStream()
val additionalProperties = buildCustomOpenAIAdditionalProperties(
body = state.body,
messages = messages,