Skip to content

Commit

Permalink
fix provider type hint
Browse files Browse the repository at this point in the history
  • Loading branch information
djcopley committed Feb 4, 2024
1 parent 22b0d3e commit b2bc495
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shelloracle/providers/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def generate(self, prompt: str) -> AsyncIterator[str]:
# https://mypy.readthedocs.io/en/stable/more_types.html#asynchronous-iterators


def _providers() -> dict[str, Provider]:
def _providers() -> dict[str, type[Provider]]:
from .ollama import Ollama
from .openai import OpenAI
from .localai import LocalAI
Expand Down

0 comments on commit b2bc495

Please sign in to comment.