fix: raw_completion 没有正确传递 #439
This commit is contained in:
@@ -105,6 +105,8 @@ class ProviderOpenAIOfficial(Provider):
|
||||
logger.error(f"API 返回的 completion 无法解析:{completion}。")
|
||||
raise Exception(f"API 返回的 completion 无法解析:{completion}。")
|
||||
|
||||
llm_response.raw_completion = completion
|
||||
|
||||
return llm_response
|
||||
|
||||
async def text_chat(
|
||||
|
||||
Reference in New Issue
Block a user