feat(llm): cohere support (#167)
should be good set of defaults now, one in US, one in canada, and microsoft :/ Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
This commit is contained in:
@@ -137,7 +137,11 @@ M.stream = function(question, code_lang, code_content, selected_content_content,
|
||||
end
|
||||
Provider.parse_stream_data(data, handler_opts)
|
||||
else
|
||||
parse_stream_data(data)
|
||||
if Provider.parse_stream_data ~= nil then
|
||||
Provider.parse_stream_data(data, handler_opts)
|
||||
else
|
||||
parse_stream_data(data)
|
||||
end
|
||||
end
|
||||
end)
|
||||
end,
|
||||
|
||||
Reference in New Issue
Block a user