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