File tree Expand file tree Collapse file tree 2 files changed +59
-1
lines changed Expand file tree Collapse file tree 2 files changed +59
-1
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ import chat from "./chat.ts";
5
5
import images from "./images.ts" ;
6
6
import ping from "./ping.ts" ;
7
7
import token from './token.ts' ;
8
+ import models from './models.ts' ;
8
9
9
10
export default [
10
11
{
@@ -23,5 +24,6 @@ export default [
23
24
chat ,
24
25
images ,
25
26
ping ,
26
- token
27
+ token ,
28
+ models
27
29
] ;
Original file line number Diff line number Diff line change
1
+ import _ from 'lodash' ;
2
+
3
+ export default {
4
+
5
+ prefix : '/v1' ,
6
+
7
+ get : {
8
+ '/models' : async ( ) => {
9
+ return {
10
+ "data" : [
11
+ {
12
+ "id" : "qwen-max" ,
13
+ "object" : "model" ,
14
+ "owned_by" : "qwen-free-api"
15
+ } ,
16
+ {
17
+ "id" : "qwen-max-longcontext" ,
18
+ "object" : "model" ,
19
+ "owned_by" : "qwen-free-api"
20
+ } ,
21
+ {
22
+ "id" : "qwen-plus" ,
23
+ "object" : "model" ,
24
+ "owned_by" : "qwen-free-api"
25
+ } ,
26
+ {
27
+ "id" : "qwen-turbo" ,
28
+ "object" : "model" ,
29
+ "owned_by" : "qwen-free-api"
30
+ } ,
31
+ {
32
+ "id" : "qwen-vl-max" ,
33
+ "object" : "model" ,
34
+ "owned_by" : "qwen-free-api"
35
+ } ,
36
+ {
37
+ "id" : "qwen-vl-plus" ,
38
+ "object" : "model" ,
39
+ "owned_by" : "qwen-free-api"
40
+ } ,
41
+ {
42
+ "id" : "qwen-v1" ,
43
+ "object" : "model" ,
44
+ "owned_by" : "qwen-free-api"
45
+ } ,
46
+ {
47
+ "id" : "qwen-v1-vision" ,
48
+ "object" : "model" ,
49
+ "owned_by" : "qwen-free-api"
50
+ }
51
+ ]
52
+ } ;
53
+ }
54
+
55
+ }
56
+ }
You can’t perform that action at this time.
0 commit comments