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

XFEstudio/gpt4free

Update StringableInference to set working status to False and remove unused format_prompt import in Yupp provider

a9950deb
hlohaus <983577+hlohaus@users.noreply.github.com>
提交于

代码差异

2 个文件 +4 -4
Modified g4f/Provider/StringableInference.py +1 -1
@@ -11,7 +11,7 @@ class StringableInference(OpenaiTemplate):
11 11 api_base = "https://stringableinf.com/api"
12 12 api_endpoint = "https://stringableinf.com/api/v1/chat/completions"
13 13
14 working = True
14 working = False
15 15 active_by_default = True
16 16 default_model = "deepseek-v3.2"
17 17 default_vision_model = "gpt-oss-120b"
Modified g4f/Provider/Yupp.py +3 -3
@@ -15,7 +15,7 @@ from ..tools.auth import AuthManager
15 15 from ..tools.media import merge_media
16 16 from ..image import is_accepted_format, to_bytes
17 17 from .yupp.models import YuppModelManager
18 from .helper import get_last_user_message, format_prompt
18 from .helper import get_last_user_message
19 19 from ..debug import log
20 20
21 21 # Global variables to manage Yupp accounts
@@ -325,7 +325,7 @@ class Yupp(AsyncGeneratorProvider, ProviderModelMixin):
325 325 url = f"https://yupp.ai/chat/{url_uuid}?stream=true"
326 326 # Yield the conversation info first
327 327 yield JsonConversation(url_uuid=url_uuid)
328 next_action = kwargs.get("next_action", "7f2a2308b5fc462a2c26df714cb2cccd02a9c10fbb")
328 next_action = kwargs.get("next_action", "7f7de0a21bc8dc3cee8ba8b6de632ff16f769649dd")
329 329 else:
330 330 # Continuing existing conversation
331 331 payload = [
@@ -339,7 +339,7 @@ class Yupp(AsyncGeneratorProvider, ProviderModelMixin):
339 339 files
340 340 ]
341 341 url = f"https://yupp.ai/chat/{url_uuid}?stream=true"
342 next_action = kwargs.get("next_action", "7f1e9eec4ab22c8bfc73a50c026db603cd8380f87d")
342 next_action = kwargs.get("next_action", "7f9ec99a63cbb61f69ef18c0927689629bda07f1bf")
343 343
344 344 headers = {
345 345 "accept": "text/x-component",