mirror of
https://github.com/ollama/ollama.git
synced 2025-08-24 12:11:11 +02:00
docs: added missing comma in 'Ollama's Javascript library'' (#11915)
This commit is contained in:
@@ -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>"
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user