We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7edfc7e + 22651e9 commit 70095a8Copy full SHA for 70095a8
server/api/models/index.get.ts
@@ -27,7 +27,7 @@ export default defineEventHandler(async (event) => {
27
if (response.ok) {
28
const data = await response.json()
29
const openaiModels = data.data
30
- .filter((model: any) => model.id.startsWith('gpt-'))
+ .filter((model: any) => !model.id.includes('embedding'))
31
.sort((a: any, b: any) => a.id.localeCompare(b.id))
32
.map((model: any) => model.id)
33
0 commit comments