[object Object]

← back to Exo

removed response return

06c3f52452d704e0ac3c740b42bd4d5401102150 · 2024-11-19 01:24:13 -0800 · josh

Files touched

Diff

commit 06c3f52452d704e0ac3c740b42bd4d5401102150
Author: josh <eyasufikru567@gmail.com>
Date:   Tue Nov 19 01:24:13 2024 -0800

    removed response return
---
 exo/api/chatgpt_api.py | 2 --
 1 file changed, 2 deletions(-)

diff --git a/exo/api/chatgpt_api.py b/exo/api/chatgpt_api.py
index 5484645c..47f280c4 100644
--- a/exo/api/chatgpt_api.py
+++ b/exo/api/chatgpt_api.py
@@ -191,9 +191,7 @@ class ChatGPTAPI:
     response = web.json_response({"detail": "Quit signal received"}, status=200)
     await response.prepare(request)
     await response.write_eof()
-
     await shutdown(signal.SIGINT, asyncio.get_event_loop())
-    return response
 
   async def timeout_middleware(self, app, handler):
     async def middleware(request):

← bcd885dc cleaned code  ·  back to Exo  ·  pr suggestion fixes: 8ad70b20 →