fix: Always handle the extra response outside of stream, such as the exceptions from bedrock (#1526)
This commit is contained in:
@@ -12,8 +12,6 @@ M.role_map = {
|
||||
}
|
||||
-- M.tokenizer_id = "google/gemma-2b"
|
||||
|
||||
function M:is_disable_stream() return false end
|
||||
|
||||
function M:parse_messages(opts)
|
||||
local contents = {}
|
||||
local prev_role = nil
|
||||
|
||||
Reference in New Issue
Block a user