Skip to content
This repository was archived by the owner on Aug 1, 2025. It is now read-only.

Commit 653ba90

Browse files
committed
Filter out waitlist and onwaitlist models from the default
1 parent 15d2680 commit 653ba90

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

agent/src/TestClient.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -729,7 +729,6 @@ export class TestClient extends MessageHandler {
729729
const jsonText = message.split('\n').slice(1).join('\n')
730730
const json = JSON.parse(jsonText)
731731
const bodyText = json?.body ?? '{}'
732-
console.log(`[mixer] bodyText: ${bodyText}`)
733732
const body = JSON.parse(bodyText)
734733
const { closestBody } = await this.request('testing/closestPostData', {
735734
url: json?.url ?? '',

lib/shared/src/models/modelsService.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -434,8 +434,10 @@ export class ModelsService {
434434
return pendingOperation
435435
}
436436

437-
// Remove deprecated models from the list
438-
models = models.filter(model => !model.tags.includes(ModelTag.Deprecated))
437+
models = models
438+
.filter(model => !model.tags.includes(ModelTag.Deprecated))
439+
.filter(model => !model.tags.includes(ModelTag.Waitlist))
440+
.filter(model => !model.tags.includes(ModelTag.OnWaitlist))
439441

440442
// Find the first model the user can use that isn't a reasoning model
441443
const firstModelUserCanUse = models.find(

0 commit comments

Comments
 (0)