docs: added missing comma in 'Ollama's Javascript library'' (#11915)
This commit is contained in:
parent
5271ff8559
commit
883d031268
|
|
@ -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>"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue