diff --git a/core/llm/llms/Ollama.ts b/core/llm/llms/Ollama.ts index c6d6acdb6..e24a489f0 100644 --- a/core/llm/llms/Ollama.ts +++ b/core/llm/llms/Ollama.ts @@ -26,6 +26,7 @@ class Ollama extends BaseLLM { method: "POST", headers: { Authorization: `Bearer ${this.apiKey}`, + "Content-Type": "application/json", }, body: JSON.stringify({ name: this._getModel() }), })