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) => {
const opensource_models = process.env.OPENSOURCE_MODELS ? JSON.parse(process.env.OPENSOURCE_MODELS) : [];
models.data = models.data.filter((model) => {
return model.id.indexOf('gpt-3') === 0
return model.id.indexOf('gpt-3') === 0 && model.id != 'gpt-3.5-turbo-0301' && model.id != 'gpt-3.5-turbo-0613'
})
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!