Timothy Jaeryang Baek 1 mesiac pred
rodič
commit
fac848ad33
1 zmenil súbory, kde vykonal 0 pridanie a 7 odobranie
  1. 0 7
      backend/open_webui/utils/middleware.py

+ 0 - 7
backend/open_webui/utils/middleware.py

@@ -157,7 +157,6 @@ async def chat_completion_tools_handler(
     tools_function_calling_prompt = tools_function_calling_generation_template(
         template, tools_specs
     )
-    log.info(f"{tools_function_calling_prompt=}")
     payload = get_tools_function_calling_payload(
         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", []),
             },
         )
-        log.info(f"{tools_dict=}")
 
     if 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:
                             res = await generate_chat_completion(
                                 request,