修复日志问题
This commit is contained in:
parent
1875f5aa31
commit
35e3fc7255
|
|
@ -26,11 +26,12 @@ def format_chunk(chunk, follow_up, follow_up_after):
|
|||
|
||||
@zhipu_controller_v2.route('/zhipu/retrive/stream', methods=['POST'])
|
||||
def retrive_stream():
|
||||
logger.info(f'/zhipu/retrive/stream v2: {message}')
|
||||
data = request.json
|
||||
message = data.get('message', '')
|
||||
knowledge_id = data.get('knowledge_id', '')
|
||||
prompt_template = data.get('prompt_template', '')
|
||||
logger.info(f'/zhipu/retrive/stream v2: {message}')
|
||||
|
||||
|
||||
classification_result_str = zhipu_alltool_service.func_call_classify(message)
|
||||
print(f'classification_result: {classification_result_str}')
|
||||
|
|
|
|||
Loading…
Reference in New Issue