Skip to content

Commit

Permalink
πŸ› fix issue in python3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
mateusztylec committed Mar 17, 2024
1 parent 307394f commit 4848542
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/gaidme/_version.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
__title__ = "gaidme"
__version__ = "0.1.2"
__version__ = "0.1.3"
3 changes: 1 addition & 2 deletions src/gaidme/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,12 @@
from .utils import _parse_command_from_response
from ._errors import GaidmeError
from openai import OpenAI, AzureOpenAI
from typing import Union, List
import logging
import os

_logger = logging.getLogger(__name__)

def get_ai_client_and_model() -> Union[List[AzureOpenAI, str], List[OpenAI, str]]:
def get_ai_client_and_model():
"""
Based on the env variable returns openai client.
It is ugly and will be refactored later
Expand Down

0 comments on commit 4848542

Please sign in to comment.