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

XFEstudio/gpt4free

refactor(g4f/Provider/Airforce.py): enhance Airforce provider functionality-2

2103ea87
kqlio67 <kqlio67@users.noreply.github.com>
提交于

代码差异

1 个文件 +0 -1
Modified g4f/Provider/Airforce.py +0 -1
@@ -10,7 +10,6 @@ def split_long_message(message: str, max_length: int = 4000) -> list[str]:
10 10 return [message[i:i+max_length] for i in range(0, len(message), max_length)]
11 11
12 12 class Airforce(AsyncGeneratorProvider, ProviderModelMixin):
13 label = "Airforce"
14 13 url = "https://api.airforce"
15 14 image_api_endpoint = "https://api.airforce/imagine2"
16 15 text_api_endpoint = "https://api.airforce/chat/completions"