Skip to content

Commit 676c694

Browse files
committed
fix bad reference
1 parent 9ecf33e commit 676c694

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

shelloracle/provider/ollama.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def endpoint(self):
7171
return f"http://{self.host}:{self.port}/api/generate"
7272

7373
async def generate(self, prompt: str) -> AsyncGenerator[str, None, None]:
74-
request = GenerateRequest(self.model, prompt, system=system_prompt, stream=True)
74+
request = GenerateRequest(self.model, prompt, system=self.system_prompt, stream=True)
7575
data = dataclass_to_json(request)
7676
try:
7777
async with httpx.AsyncClient() as client:

0 commit comments

Comments
 (0)