aboutsummaryrefslogtreecommitdiffstats
path: root/packages/shared/inference.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/shared/inference.ts')
-rw-r--r--packages/shared/inference.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/shared/inference.ts b/packages/shared/inference.ts
index e09076db..7cb88819 100644
--- a/packages/shared/inference.ts
+++ b/packages/shared/inference.ts
@@ -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;