From 91ea380b79bc8c765587082347b2338a188b84b3 Mon Sep 17 00:00:00 2001 From: NovaOSS Admins Date: Wed, 25 Oct 2023 19:06:36 +0000 Subject: [PATCH] bing chilling --- api/providers/__init__.py | 4 ++-- api/responder.py | 2 -- checks/client.py | 2 +- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/api/providers/__init__.py b/api/providers/__init__.py index 334654b..12e4bca 100644 --- a/api/providers/__init__.py +++ b/api/providers/__init__.py @@ -1,2 +1,2 @@ -from . import ails -MODULES = [ails] +from . import ails, closed, closed4 +MODULES = [closed, closed4] diff --git a/api/responder.py b/api/responder.py index cc89007..f43cf91 100644 --- a/api/responder.py +++ b/api/responder.py @@ -251,8 +251,6 @@ async def respond( credits_cost = round(credits_cost * role_cost_multiplier) - print(f'[bold]Credits cost[/bold]: {credits_cost}') - create_background_task( after_request.after_request( provider=provider_name, diff --git a/checks/client.py b/checks/client.py index 18afbe4..2f8137f 100644 --- a/checks/client.py +++ b/checks/client.py @@ -222,7 +222,7 @@ async def demo(): for func in [ test_chat_stream_gpt3, test_chat_non_stream_gpt4, - test_function_calling, + # test_function_calling, ]: print(f'[*] {func.__name__}') result = await func()