git: 26e473da6edd - main - misc/ollama: Add to pkg-message
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 28 Mar 2026 19:29:15 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=26e473da6eddfce80dcd37b09f6e687893f44328
commit 26e473da6eddfce80dcd37b09f6e687893f44328
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2026-03-28 19:28:51 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2026-03-28 19:29:12 +0000
misc/ollama: Add to pkg-message
---
misc/ollama/pkg-message | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/misc/ollama/pkg-message b/misc/ollama/pkg-message
index b286f8cf71d1..87e28efb446c 100644
--- a/misc/ollama/pkg-message
+++ b/misc/ollama/pkg-message
@@ -28,6 +28,26 @@ ollama uses many gigabytes of disk space in your home directory,
because advanced AI models are often very large.
Please symlink ~/.ollama to a large disk if needed.
+Working examples:
+(1) Coding with the model gpt-oss:20b:
+ 1. run 'OLLAMA_CONTEXT_LENGTH=65536 ollama serve'
+ 2. install claude-code and run:
+ ANTHROPIC_BASE_URL=http://localhost:11434 \
+ ANTHROPIC_AUTH_TOKEN=ollama \
+ ANTHROPIC_MODEL=gpt-oss:20b \
+ ANTHROPIC_DEFAULT_SONNET_MODEL=gpt-oss:20b \
+ ANTHROPIC_DEFAULT_OPUS_MODEL=gpt-oss:20b \
+ ANTHROPIC_DEFAULT_HAIKU_MODEL=gpt-oss:20b \
+ claude
+ 3. Ask it to write some program.
+
+(2) Image generation with the model x/z-image-turbo:
+ 1. run 'OLLAMA_CONTEXT_LENGTH=65536 ollama serve'
+ 2. install claude-code and run:
+ ollama run x/z-image-turbo {textual description of the desired image}
+
+There are also a lot of text-to-text models that you can chat with.
+
EOM
}
]