소스 검색

refac: `chat_completion_inlets_handler` -> `chat_completion_filter_functions_handler`

Timothy J. Baek 9 달 전
부모
커밋
862a30842c
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      backend/main.py

+ 2 - 2
backend/main.py

@@ -318,7 +318,7 @@ def get_tool_call_payload(messages, task_model_id, content):
     }
 
 
-async def chat_completion_inlets_handler(body, model, extra_params):
+async def chat_completion_filter_functions_handler(body, model, extra_params):
     skip_files = None
 
     filter_ids = get_filter_function_ids(model)
@@ -606,7 +606,7 @@ class ChatCompletionMiddleware(BaseHTTPMiddleware):
         citations = []
 
         try:
-            body, flags = await chat_completion_inlets_handler(
+            body, flags = await chat_completion_filter_functions_handler(
                 body, model, extra_params
             )
         except Exception as e: