Skip to content

Commit

Permalink
docs: fix typo in inference.ts (#640)
Browse files Browse the repository at this point in the history
successfull -> successful
  • Loading branch information
eltociear authored Nov 17, 2024
1 parent 0d6af2f commit 64e759a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/shared/inference.ts
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ class OllamaInferenceClient implements InferenceClient {
}
}
} catch (e) {
// There seem to be some bug in ollama where you can get some successfull response, but still throw an error.
// There seem to be some bug in ollama where you can get some successful response, but still throw an error.
// Using stream + accumulating the response so far is a workaround.
// https://github.com/ollama/ollama-js/issues/72
totalTokens = NaN;
Expand Down

0 comments on commit 64e759a

Please sign in to comment.