From db2d6cffd9268e8842f0c2aa8e062c0e19d88d28 Mon Sep 17 00:00:00 2001 From: Heiner Lohaus Date: Sun, 21 Apr 2024 07:22:59 +0200 Subject: Fix Bing Provider, Add Account Support for Meta AI Use default headers in OpenaiChat --- etc/unittest/integration.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'etc') diff --git a/etc/unittest/integration.py b/etc/unittest/integration.py index 1f7fb000..d8fc41d0 100644 --- a/etc/unittest/integration.py +++ b/etc/unittest/integration.py @@ -10,7 +10,7 @@ except ImportError: from g4f.client import Client, ChatCompletion from g4f.Provider import Bing, OpenaiChat, DuckDuckGo -DEFAULT_MESSAGES = [{"role": "system", "content": 'Response in json, Example: {"success: true"}'}, +DEFAULT_MESSAGES = [{"role": "system", "content": 'Response in json, Example: {"success": false}'}, {"role": "user", "content": "Say success true in json"}] class TestProviderIntegration(unittest.TestCase): -- cgit v1.2.3