katsukiai commited on
Commit
3c0ab8b
·
verified ·
1 Parent(s): 80b5887

Update index.js

Browse files
Files changed (1) hide show
  1. index.js +2 -6
index.js CHANGED
@@ -43,7 +43,7 @@ app.post("/chat/completions", (req, res) => {
43
  }))
44
  })
45
  app.get("/models", (req, res) => {
46
- res.set('Content-1Type','application/json');
47
  res.send(JSON.stringify({
48
  "object": "list",
49
  "data": [
@@ -52,15 +52,11 @@ app.get("/models", (req, res) => {
52
  "object": "model",
53
  "owned_by": "openai",
54
  "created": new Date().toISOString(),
55
- "readable_name": "Sunny",
56
- "description": "The base model for Sunny"
57
  }, {
58
  "id": "sunny-beta",
59
  "object": "model",
60
  "owned_by": "openai",
61
- "created": new Date().toISOString(),
62
- "readable_name": "Sunny Beta",
63
- "description": "Sunny but Eval your code with Sunny"
64
  }
65
  ]
66
  }))
 
43
  }))
44
  })
45
  app.get("/models", (req, res) => {
46
+ res.set('Content-Type','application/json');
47
  res.send(JSON.stringify({
48
  "object": "list",
49
  "data": [
 
52
  "object": "model",
53
  "owned_by": "openai",
54
  "created": new Date().toISOString(),
 
 
55
  }, {
56
  "id": "sunny-beta",
57
  "object": "model",
58
  "owned_by": "openai",
59
+ "created": new Date().toISOString()
 
 
60
  }
61
  ]
62
  }))