sin30 commited on
Commit
05f1c46
·
verified ·
1 Parent(s): a1d9532

Upload check_mogo.py

Browse files
Files changed (1) hide show
  1. check_mogo.py +52 -12
check_mogo.py CHANGED
@@ -23,18 +23,30 @@ def set_txt2txt_price_config():
23
 
24
  data = doc["data"]
25
 
26
- data["qwen3-vl-plus"] = {
27
- "completion_price": 0.03,
28
- "prompt_price": 0.003,
29
  "currency": "¥"
30
  }
31
 
32
- data["qwen3-vl-flash"] = {
33
- "completion_price": 0.006,
34
- "prompt_price": 0.0006,
35
  "currency": "¥"
36
  }
37
 
 
 
 
 
 
 
 
 
 
 
 
 
38
  # 3. 一次性把整个 data 写回去
39
  result = collection.update_one(
40
  {"name": "txt2txt_price_config"},
@@ -70,8 +82,22 @@ def set_txt2txt_config():
70
 
71
  data.append({
72
  "stream_selected": 0,
73
- "label": "qwen3-vl-plus",
74
- "value": "qwen3-vl-plus",
 
 
 
 
 
 
 
 
 
 
 
 
 
 
75
  "wechat_selected": 0,
76
  "wechat_label": 0,
77
  "selected": 0,
@@ -79,13 +105,13 @@ def set_txt2txt_config():
79
  "is_think": 0,
80
  "web_label": 0,
81
  "stream_label": 0,
82
- "manufacturer": "谷歌"
83
  })
84
 
85
  data.append({
86
  "stream_selected": 0,
87
- "label": "qwen3-vl-flash",
88
- "value": "qwen3-vl-flash",
89
  "wechat_selected": 0,
90
  "wechat_label": 0,
91
  "selected": 0,
@@ -93,9 +119,23 @@ def set_txt2txt_config():
93
  "is_think": 0,
94
  "web_label": 0,
95
  "stream_label": 0,
96
- "manufacturer": "阿里"
97
  })
98
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
99
  # 3. 一次性把整个 data 写回去
100
  result = collection.update_one(
101
  {"name": "txt2txt_config"},
 
23
 
24
  data = doc["data"]
25
 
26
+ data["glm-4.7"] = {
27
+ "completion_price": 0.016,
28
+ "prompt_price": 0.004,
29
  "currency": "¥"
30
  }
31
 
32
+ data["glm-4.5-air"] = {
33
+ "completion_price": 0.008,
34
+ "prompt_price": 0.0012,
35
  "currency": "¥"
36
  }
37
 
38
+ data["MiniMax-M2.1"] = {
39
+ "completion_price": 0.0084,
40
+ "prompt_price": 0.0021,
41
+ "currency": "¥"
42
+ }
43
+
44
+ # data["deepseek-v3.2"] = {
45
+ # "completion_price": 1,
46
+ # "prompt_price": 1,
47
+ # "currency": "¥"
48
+ # }
49
+
50
  # 3. 一次性把整个 data 写回去
51
  result = collection.update_one(
52
  {"name": "txt2txt_price_config"},
 
82
 
83
  data.append({
84
  "stream_selected": 0,
85
+ "label": "glm-4.7",
86
+ "value": "glm-4.7",
87
+ "wechat_selected": 0,
88
+ "wechat_label": 0,
89
+ "selected": 0,
90
+ "max_tokens": 4000,
91
+ "is_think": 0,
92
+ "web_label": 0,
93
+ "stream_label": 0,
94
+ "manufacturer": "智谱"
95
+ })
96
+
97
+ data.append({
98
+ "stream_selected": 0,
99
+ "label": "glm-4.5-air",
100
+ "value": "glm-4.5-air",
101
  "wechat_selected": 0,
102
  "wechat_label": 0,
103
  "selected": 0,
 
105
  "is_think": 0,
106
  "web_label": 0,
107
  "stream_label": 0,
108
+ "manufacturer": "智谱"
109
  })
110
 
111
  data.append({
112
  "stream_selected": 0,
113
+ "label": "MiniMax-M2.1",
114
+ "value": "MiniMax-M2.1",
115
  "wechat_selected": 0,
116
  "wechat_label": 0,
117
  "selected": 0,
 
119
  "is_think": 0,
120
  "web_label": 0,
121
  "stream_label": 0,
122
+ "manufacturer": "minimax"
123
  })
124
 
125
+ # data.append({
126
+ # "stream_selected": 0,
127
+ # "label": "deepseek-v3.2",
128
+ # "value": "deepseek-v3.2",
129
+ # "wechat_selected": 0,
130
+ # "wechat_label": 0,
131
+ # "selected": 0,
132
+ # "max_tokens": 4000,
133
+ # "is_think": 0,
134
+ # "web_label": 0,
135
+ # "stream_label": 0,
136
+ # "manufacturer": "华为"
137
+ # })
138
+
139
  # 3. 一次性把整个 data 写回去
140
  result = collection.update_one(
141
  {"name": "txt2txt_config"},