diff options
author | kqlio67 <kqlio67@users.noreply.github.com> | 2024-11-09 08:48:34 +0100 |
---|---|---|
committer | kqlio67 <kqlio67@users.noreply.github.com> | 2024-11-09 08:48:34 +0100 |
commit | c1e6276414632761b5ed6a98f61ca4cb7286e582 (patch) | |
tree | b822f19fed9c1e6006db309023c9d18f99d4becd /g4f/Provider/local | |
parent | fix(g4f/Provider/Blackbox.py): Improve Blackbox AI response text processing (diff) | |
download | gpt4free-c1e6276414632761b5ed6a98f61ca4cb7286e582.tar gpt4free-c1e6276414632761b5ed6a98f61ca4cb7286e582.tar.gz gpt4free-c1e6276414632761b5ed6a98f61ca4cb7286e582.tar.bz2 gpt4free-c1e6276414632761b5ed6a98f61ca4cb7286e582.tar.lz gpt4free-c1e6276414632761b5ed6a98f61ca4cb7286e582.tar.xz gpt4free-c1e6276414632761b5ed6a98f61ca4cb7286e582.tar.zst gpt4free-c1e6276414632761b5ed6a98f61ca4cb7286e582.zip |
Diffstat (limited to 'g4f/Provider/local')
-rw-r--r-- | g4f/Provider/local/Ollama.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/g4f/Provider/local/Ollama.py b/g4f/Provider/local/Ollama.py index c503a46a..de68a218 100644 --- a/g4f/Provider/local/Ollama.py +++ b/g4f/Provider/local/Ollama.py @@ -3,10 +3,10 @@ from __future__ import annotations import requests import os -from ..needs_auth.Openai import Openai +from ..needs_auth.OpenaiAPI import OpenaiAPI from ...typing import AsyncResult, Messages -class Ollama(Openai): +class Ollama(OpenaiAPI): label = "Ollama" url = "https://ollama.com" needs_auth = False |