tastypear commited on
Commit
f8e63ef
·
verified ·
1 Parent(s): 32907d4

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +4 -4
main.py CHANGED
@@ -27,16 +27,16 @@ def model_list():
27
  "object": "list",
28
  "data": [
29
  {
30
- "id": "minimax",
31
  "object": "model",
32
  "created": time_now,
33
- "owned_by": "tastypear"
34
  },
35
  {
36
  "id": "gpt-3.5-turbo",
37
  "object": "model",
38
  "created": time_now,
39
- "owned_by": "tastypear"
40
  }
41
  ]
42
  }
@@ -139,7 +139,7 @@ def gen_res_data(data, time_now=0, start=False):
139
  "id": "chatcmpl",
140
  "object": "chat.completion.chunk",
141
  "created": time_now,
142
- "model": "minimax2_5",
143
  "choices": [{"index": 0, "finish_reason": None}],
144
  }
145
 
 
27
  "object": "list",
28
  "data": [
29
  {
30
+ "id": "MiniMax-Text-01",
31
  "object": "model",
32
  "created": time_now,
33
+ "owned_by": "minimax"
34
  },
35
  {
36
  "id": "gpt-3.5-turbo",
37
  "object": "model",
38
  "created": time_now,
39
+ "owned_by": "openai"
40
  }
41
  ]
42
  }
 
139
  "id": "chatcmpl",
140
  "object": "chat.completion.chunk",
141
  "created": time_now,
142
+ "model": "MiniMax-Text-01",
143
  "choices": [{"index": 0, "finish_reason": None}],
144
  }
145