Skip to content

Commit

Permalink
Merge branch 'aiinference' of git.tonic-ai.com:contribute/autogen/aut…
Browse files Browse the repository at this point in the history
…ogen into aiinference
  • Loading branch information
Josephrp committed Sep 23, 2024
2 parents ab10f93 + b627bcc commit 84d96b1
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions autogen/oai/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,19 +84,18 @@
except ImportError as e:
cohere_import_exception = e

try:
from autogen.oai.aiinference import AzureAIInferenceClient

aiinference_import_exception: Optional[ImportError] = None
except ImportError as e:
aiinference_import_exception = e

try:
from autogen.oai.bedrock import BedrockClient

bedrock_import_exception: Optional[ImportError] = None
except ImportError as e:
bedrock_import_exception = e
try :
from autogen.oai.aiinference import AzureAIInferenceClient

aiinference_import_exception : Optional[ImportError] = None
except ImportError as e:
aiinference_import_exception = e

logger = logging.getLogger(__name__)
if not logger.handlers:
Expand Down

0 comments on commit 84d96b1

Please sign in to comment.