Skip to content
Snippets Groups Projects
Unverified Commit 5fc696a2 authored by Logan's avatar Logan Committed by GitHub
Browse files

Fix ollama chat (#10230)

parent f1dc03c0
Branches
Tags
No related merge requests found
......@@ -87,7 +87,7 @@ class Ollama(CustomLLM):
"model": self.model,
"messages": [
{
"role": message.role,
"role": message.role.value,
"content": message.content,
**message.additional_kwargs,
}
......@@ -126,7 +126,7 @@ class Ollama(CustomLLM):
"model": self.model,
"messages": [
{
"role": message.role,
"role": message.role.value,
"content": message.content,
**message.additional_kwargs,
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment