fix(llm): incorrect condition to call parse_stream_data
This commit is contained in:
parent
0743bda2b6
commit
0084d8b0cd
@ -705,8 +705,8 @@ M.stream = function(question, code_lang, code_content, selected_content_content,
|
|||||||
"parse_stream_data and parse_response_data are mutually exclusive, and thus parse_response_data will be ignored. Make sure that you handle the incoming data correctly.",
|
"parse_stream_data and parse_response_data are mutually exclusive, and thus parse_response_data will be ignored. Make sure that you handle the incoming data correctly.",
|
||||||
{ once = true }
|
{ once = true }
|
||||||
)
|
)
|
||||||
ProviderConfig.parse_stream_data(data)
|
|
||||||
end
|
end
|
||||||
|
ProviderConfig.parse_stream_data(data)
|
||||||
else
|
else
|
||||||
parse_and_call(data)
|
parse_and_call(data)
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user