Skip to content

Commit

Permalink
🔨 chore: fix vercel build (lobehub#2867)
Browse files Browse the repository at this point in the history
  • Loading branch information
RubuJam authored Jun 14, 2024
1 parent a9d678b commit 044bf2d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/services/ollama.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ export class OllamaService {
this._client.abort();
};

pullModel = async (model: string): Promise<AsyncGenerator<ProgressResponse>> => {
let response: Response | AsyncGenerator<ProgressResponse>;
pullModel = async (model: string): Promise<AsyncIterable<ProgressResponse>> => {
let response: Response | AsyncIterable<ProgressResponse>;
try {
response = await this.getOllamaClient().pull({ insecure: true, model, stream: true });
return response;
Expand Down

0 comments on commit 044bf2d

Please sign in to comment.