mirror of
https://github.com/open-webui/open-webui
synced 2025-04-07 22:25:05 +00:00
refac: rm log info
This commit is contained in:
parent
6ac153c989
commit
fac848ad33
@ -157,7 +157,6 @@ async def chat_completion_tools_handler(
|
|||||||
tools_function_calling_prompt = tools_function_calling_generation_template(
|
tools_function_calling_prompt = tools_function_calling_generation_template(
|
||||||
template, tools_specs
|
template, tools_specs
|
||||||
)
|
)
|
||||||
log.info(f"{tools_function_calling_prompt=}")
|
|
||||||
payload = get_tools_function_calling_payload(
|
payload = get_tools_function_calling_payload(
|
||||||
body["messages"], task_model_id, tools_function_calling_prompt
|
body["messages"], task_model_id, tools_function_calling_prompt
|
||||||
)
|
)
|
||||||
@ -823,7 +822,6 @@ async def process_chat_payload(request, form_data, user, metadata, model):
|
|||||||
"__files__": metadata.get("files", []),
|
"__files__": metadata.get("files", []),
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
log.info(f"{tools_dict=}")
|
|
||||||
|
|
||||||
if tool_servers:
|
if tool_servers:
|
||||||
for tool_server in tool_servers:
|
for tool_server in tool_servers:
|
||||||
@ -2107,11 +2105,6 @@ async def process_chat_response(
|
|||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
log.info(f"content_blocks={content_blocks}")
|
|
||||||
log.info(
|
|
||||||
f"serialize_content_blocks={serialize_content_blocks(content_blocks)}"
|
|
||||||
)
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
res = await generate_chat_completion(
|
res = await generate_chat_completion(
|
||||||
request,
|
request,
|
||||||
|
Loading…
Reference in New Issue
Block a user