Revert "fix: Always handle the extra response outside of stream, such as the exceptions from bedrock (#1526)" (#1569)

This reverts commit f9ab6934d2.
This commit is contained in:
yetone
2025-03-12 19:10:05 +08:00
committed by GitHub
parent fee1aacdfc
commit f9f92dc9d4
12 changed files with 20 additions and 5 deletions

View File

@@ -11,6 +11,7 @@ M.role_map = {
assistant = "model",
}
M.is_disable_stream = Gemini.is_disable_stream
M.parse_messages = Gemini.parse_messages
M.parse_response = Gemini.parse_response