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

This commit is contained in:
brook hong
2025-03-12 16:29:32 +08:00
committed by GitHub
parent de6e3657f1
commit f9ab6934d2
12 changed files with 5 additions and 20 deletions

View File

@@ -13,8 +13,6 @@ M.role_map = {
assistant = "assistant",
}
function M:is_disable_stream() return false end
---@param tool AvanteLLMTool
---@return AvanteOpenAITool
function M.transform_tool(tool)