XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet
公开
关注 0 Fork 0 Star 1
返回提交历史

XFEstudio/gpt4free

Update integration.py

11cb4f12
H Lohaus <hlohaus@users.noreply.github.com>
提交于

代码差异

1 个文件 +1 -0
Modified etc/unittest/integration.py +1 -0
@@ -32,6 +32,7 @@ class TestProviderIntegration(unittest.TestCase):
32 32 self.assertIn("success", json.loads(response.choices[0].message.content))
33 33
34 34 def test_openai(self):
35 self.skipTest("not working in this network")
35 36 client = Client(provider=OpenaiChat)
36 37 response = client.chat.completions.create(DEFAULT_MESSAGES, "", response_format={"type": "json_object"})
37 38 self.assertIsInstance(response, ChatCompletion)