ardasen commited on
Commit
0952c2f
·
1 Parent(s): d2fdf35

Update server.js

Browse files
Files changed (1) hide show
  1. server.js +1 -1
server.js CHANGED
@@ -25,7 +25,7 @@ function authenticateProxyKeyAndModel(req, res, next) {
25
  const requestedModel = req.body.model;
26
 
27
  // List of allowed models
28
- const allowedModels = ['gryphe/mythomist-7b', 'gryphe/mythomax-l2-13b'];
29
 
30
  if (providedKey && providedKey === proxyKey && allowedModels.includes(requestedModel)) {
31
  // If the provided key matches the expected key and the requested model is allowed, allow the request to proceed
 
25
  const requestedModel = req.body.model;
26
 
27
  // List of allowed models
28
+ const allowedModels = ['gryphe/mythomist-7b', 'gryphe/mythomax-l2-13b' ,'undi95/toppy-m-7b'];
29
 
30
  if (providedKey && providedKey === proxyKey && allowedModels.includes(requestedModel)) {
31
  // If the provided key matches the expected key and the requested model is allowed, allow the request to proceed