-
-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
When you add custom model for ollama (with id "custom" for example) provider trying to pull this model and failed
Steps to reproduce the bug
Steps to reproduce:
- Create custom model with id="custom" for ollama
- Run clean ollama server without any model loaded
- Compile and run this code
using LangChain.Providers.Ollama;
using Ollama;
var provider = new OllamaProvider("http://127.0.0.1:11434/api");
var llm = new OllamaChatModel(provider, "custom");
var result = await llm.GenerateAsync("Hi!");
Actual result: provider trying to pull model "custom" and fail
Expected behavior
ollama load existed model "custom" and generate valid response
Screenshots
No response
NuGet package version
No response
Additional context
No response
HavenDV
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working