Optimize log display
Browse files
main.py
CHANGED
@@ -38,7 +38,6 @@ app.add_middleware(
|
|
38 |
)
|
39 |
|
40 |
async def process_request(request: RequestModel, provider: Dict):
|
41 |
-
print("provider: ", provider['provider'])
|
42 |
url = provider['base_url']
|
43 |
parsed_url = urlparse(url)
|
44 |
# print(parsed_url)
|
@@ -59,7 +58,7 @@ async def process_request(request: RequestModel, provider: Dict):
|
|
59 |
|
60 |
if provider.get("engine"):
|
61 |
engine = provider["engine"]
|
62 |
-
print("engine", engine)
|
63 |
|
64 |
url, headers, payload = await get_payload(request, engine, provider)
|
65 |
|
|
|
38 |
)
|
39 |
|
40 |
async def process_request(request: RequestModel, provider: Dict):
|
|
|
41 |
url = provider['base_url']
|
42 |
parsed_url = urlparse(url)
|
43 |
# print(parsed_url)
|
|
|
58 |
|
59 |
if provider.get("engine"):
|
60 |
engine = provider["engine"]
|
61 |
+
print("provider: ", provider['provider'], "engine: ", engine)
|
62 |
|
63 |
url, headers, payload = await get_payload(request, engine, provider)
|
64 |
|