langchain-openai is not compatible with parameter Settings in ollama, such as num_ctx. Therefore, you need to create model instances using langchain-ollama (cherry picked from commit 42ae7b443d7320ace464e9a12abcbb48d7fabc9c) |
||
|---|---|---|
| .. | ||
| constants | ||
| impl | ||
| __init__.py | ||
| base_model_provider.py | ||
| tools.py | ||