docs: added missing comma in 'Ollama's Javascript library'' (#11915)

This commit is contained in:
Thomas Pelster
2025-08-15 23:45:01 +02:00
committed by GitHub
parent 5271ff8559
commit 883d031268

View File

@@ -75,7 +75,7 @@ for part in client.chat('gpt-oss:120b', messages=messages, stream=True):
import { Ollama } from 'ollama'; import { Ollama } from 'ollama';
const ollama = new Ollama({ const ollama = new Ollama({
host: 'https://ollama.com' host: 'https://ollama.com',
headers: { headers: {
Authorization: "Bearer <api key>" Authorization: "Bearer <api key>"
} }