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

XFEstudio/gpt4free

Update Liaobots.py

Added more models

a1c2f5b2
OmiiiDev <103533638+OmiiiDev@users.noreply.github.com>
提交于

代码差异

1 个文件 +40 -3
Modified g4f/Provider/Liaobots.py +40 -3
@@ -22,9 +22,10 @@ models = {
22 22 },
23 23 "gpt-3.5-turbo": {
24 24 "id": "gpt-3.5-turbo",
25 "name": "GPT-3.5",
26 "maxLength": 12000,
27 "tokenLimit": 4000,
25 "name": "GPT-3.5-Turbo",
26 "maxLength": 48000,
27 "tokenLimit": 14000,
28 "context": "16K",
28 29 },
29 30 "gpt-3.5-turbo-16k": {
30 31 "id": "gpt-3.5-turbo-16k",
@@ -32,8 +33,44 @@ models = {
32 33 "maxLength": 48000,
33 34 "tokenLimit": 16000,
34 35 },
36 "gpt-4-1106-preview": {
37 "id": "gpt-4-1106-preview",
38 "name": "GPT-4-Turbo",
39 "maxLength": 260000,
40 "tokenLimit": 126000,
41 "context": "128K",
42 },
43 "gpt-4-plus": {
44 "id": "gpt-4-plus",
45 "name": "GPT-4-Plus",
46 "maxLength": 130000,
47 "tokenLimit": 31000,
48 "context": "32K",
49 },
50 "gemini-pro": {
51 "id": "gemini-pro",
52 "name": "Gemini-Pro",
53 "maxLength": 120000,
54 "tokenLimit": 30000,
55 "context": "32K",
56 },
57 "claude-2": {
58 "id": "claude-2",
59 "name": "Claude-2-200k",
60 "maxLength": 800000,
61 "tokenLimit": 200000,
62 "context": "200K",
63 },
64 "claude-instant-1": {
65 "id": "claude-instant-1",
66 "name": "Claude-instant-1",
67 "maxLength": 400000,
68 "tokenLimit": 100000,
69 "context": "100K",
70 }
35 71 }
36 72
73
37 74 class Liaobots(AsyncGeneratorProvider):
38 75 url = "https://liaobots.site"
39 76 working = True