Skip to content

Commit

Permalink
Update index.test.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
LovelyGuYiMeng authored Sep 12, 2024
1 parent c7db946 commit 12d70b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/server/routers/edge/config/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ describe('configRouter', () => {

const result = response.languageModel?.openai?.serverModelCards;

expect(result?.find((s) => s.id === 'gpt-4-32k')?.displayName).toEqual(
'gpt-4-32k',
expect(result?.find((s) => s.id === 'gpt-4o-2024-05-13')?.displayName).toEqual(
'gpt-4o',
);

process.env.OPENAI_MODEL_LIST = '';
Expand Down

0 comments on commit 12d70b4

Please sign in to comment.