Skip to content

Commit

Permalink
drift
Browse files Browse the repository at this point in the history
Signed-off-by: Adrian Cole <[email protected]>
  • Loading branch information
codefromthecrypt committed Sep 23, 2024
1 parent 7cb44d1 commit 9aee5f3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/providers/openai/test_ollama.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from typing import Tuple

import os
import pytest

from exchange import Text
Expand All @@ -26,7 +27,7 @@ def test_ollama_completion_integration():

def ollama_complete() -> Tuple[Message, Usage]:
provider = OllamaProvider.from_env()
model = OLLAMA_MODEL
model = os.getenv("OLLAMA_MODEL", OLLAMA_MODEL)
system = "You are a helpful assistant."
messages = [Message.user("Hello")]
return provider.complete(model=model, system=system, messages=messages, tools=None)

0 comments on commit 9aee5f3

Please sign in to comment.