上线THINK功能
This commit is contained in:
parent
0c8266797e
commit
2f5b49032f
@ -249,7 +249,7 @@ async def create_agent_and_generate_response(
|
|||||||
|
|
||||||
thought_list = []
|
thought_list = []
|
||||||
if guideline_analysis != '':
|
if guideline_analysis != '':
|
||||||
thought_list = [{"role": "assistant","content": guideline_analysis}]
|
thought_list = [{"role": "assistant","reasoning_content": guideline_analysis}]
|
||||||
# 根据stream参数决定返回流式还是非流式响应
|
# 根据stream参数决定返回流式还是非流式响应
|
||||||
if stream:
|
if stream:
|
||||||
return StreamingResponse(
|
return StreamingResponse(
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user