3219d011 by Jerald Lim

31608_remove_deprecated_models

1 parent 25e620d5
Showing 1 changed file with 1 additions and 1 deletions
...@@ -471,7 +471,7 @@ app.get('/models', async (req, res) => { ...@@ -471,7 +471,7 @@ app.get('/models', async (req, res) => {
471 const opensource_models = process.env.OPENSOURCE_MODELS ? JSON.parse(process.env.OPENSOURCE_MODELS) : []; 471 const opensource_models = process.env.OPENSOURCE_MODELS ? JSON.parse(process.env.OPENSOURCE_MODELS) : [];
472 472
473 models.data = models.data.filter((model) => { 473 models.data = models.data.filter((model) => {
474 return model.id.indexOf('gpt-3') === 0 474 return model.id.indexOf('gpt-3') === 0 && model.id != 'gpt-3.5-turbo-0301' && model.id != 'gpt-3.5-turbo-0613'
475 }) 475 })
476 476
477 opensource_models.forEach((model) => { 477 opensource_models.forEach((model) => {
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!