Skip to content

Commit

Permalink
fix(model): fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
kwaa committed Jan 9, 2025
1 parent 986f6f2 commit 604301a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/model/test/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { listModels, retrieveModel } from '../src'
describe('@xsai/model', () => {
it('listModels', async () => {
const models = await listModels({
...ollama.models(),
...ollama.model(),
})

const llama = models.find(({ id }) => id === 'llama3.2:latest')!
Expand All @@ -18,7 +18,7 @@ describe('@xsai/model', () => {

it('retrieveModel', async () => {
const llama = await retrieveModel({
...ollama.models(),
...ollama.model(),
model: 'llama3.2:latest',
})

Expand Down

0 comments on commit 604301a

Please sign in to comment.