fix(docs): correct typos found during code review (#17579)

* fix(docs): correct typos found during code review

Non-functional changes only:
- Fixed minor spelling mistakes in comments
- Corrected typos in user-facing strings
- No variables, logic, or functional code was modified.

Signed-off-by: Marcel Petrick <mail@marcelpetrick.it>

* fix additional typos and shell-unsafe example in docs

---------

Co-authored-by: Patrick Devine <patrick@ollama.com>
This commit is contained in:
Marcel Petrick
2026-08-31 08:59:55 -07:00
committed by GitHub
co-authored by Patrick Devine
parent f96e7aa051
commit e37a00a8fa
14 changed files with 19 additions and 19 deletions
+1 -1
View File
@@ -413,7 +413,7 @@ func runAPIShowModel(t *testing.T) {
}
// llama3 omits system
verifyModelDetails(t, resp.Details)
// llama3 ommits messages
// llama3 omits messages
if len(resp.ModelInfo) == 0 {
t.Errorf("%s missing model_info: %#v", modelName, resp)
}
+4 -4
View File
@@ -136,7 +136,7 @@ func containsEmoji(s string) bool {
return false
}
// Send multiple generate requests with prior context and ensure the response is coherant and expected
// Send multiple generate requests with prior context and ensure the response is coherent and expected
func runParallelGenerateWithHistory(t *testing.T, modelName string) {
if testModel != "" {
// The Generate API's Context field (token array continuation) is not
@@ -194,7 +194,7 @@ func runParallelGenerateWithHistory(t *testing.T, modelName string) {
wg.Wait()
}
// Send generate requests with prior context and ensure the response is coherant and expected
// Send generate requests with prior context and ensure the response is coherent and expected
func runGenerateWithHistory(t *testing.T) {
if testModel != "" {
// The Generate API's Context field (token array continuation) is not
@@ -234,7 +234,7 @@ func runGenerateWithHistory(t *testing.T) {
}
}
// Send multiple chat requests with prior context and ensure the response is coherant and expected
// Send multiple chat requests with prior context and ensure the response is coherent and expected
func runParallelChatWithHistory(t *testing.T, modelName string) {
req, resp := ChatRequests()
numParallel := 2
@@ -299,7 +299,7 @@ func prepareParallelHistoryModel(ctx context.Context, t *testing.T, client *api.
skipIfModelTooLargeForSweepVRAM(ctx, t, client, modelName)
}
// Send generate requests with prior context and ensure the response is coherant and expected
// Send generate requests with prior context and ensure the response is coherent and expected
func runChatWithHistory(t *testing.T) {
req := api.ChatRequest{
Model: smol,