返回提交历史
Modified
g4f/Provider/DuckDuckGo.py
+1
-1
Modified
g4f/Provider/LMArenaProvider.py
+1
-1
Modified
g4f/Provider/not_working/FreeRouter.py
+1
-1
XFEstudio/gpt4free
fix: update provider status and fix line ending issues
- Mark FreeRouter provider as not working by changing working=True to working=False - Fix line ending issues in DuckDuckGo.py and LMArenaProvider.py by ensuring proper newline at end of file
0344571b
代码差异
3 个文件
+3
-3
@@ -48,4 +48,4 @@ class DuckDuckGo(AbstractProvider, ProviderModelMixin):
48
48
if cls.duck_ai is None:
49
49
cls.duck_ai = DuckAI(proxy=proxy, timeout=timeout)
50
50
model = cls.get_model(model)
51
yield cls.duck_ai.chat(get_last_user_message(messages), model, timeout)
51
yield cls.duck_ai.chat(get_last_user_message(messages), model, timeout)
@@ -368,4 +368,4 @@ class LMArenaProvider(AsyncGeneratorProvider, ProviderModelMixin, AuthFileMixin)
368
368
if return_conversation:
369
369
yield conversation
370
370
if count == max_tokens:
371
yield FinishReason("length")
371
yield FinishReason("length")
@@ -6,4 +6,4 @@ class FreeRouter(OpenaiTemplate):
6
6
label = "CablyAI FreeRouter"
7
7
url = "https://freerouter.cablyai.com"
8
8
api_base = "https://freerouter.cablyai.com/v1"
9
working = True
9
working = False