fix: Always handle the extra response outside of stream, such as the exceptions from bedrock (#1526)
This commit is contained in:
@@ -47,8 +47,6 @@ M.role_map = {
|
||||
assistant = "assistant",
|
||||
}
|
||||
|
||||
function M:is_disable_stream() return false end
|
||||
|
||||
function M:parse_messages(opts)
|
||||
local messages = {
|
||||
{ role = "system", content = opts.system_prompt },
|
||||
|
||||
Reference in New Issue
Block a user