Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
Signed-off-by: Brynn Yin <[email protected]>
  • Loading branch information
brynn-code committed Nov 29, 2023
1 parent 44d7509 commit b42ed6f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/flows/standard/basic-with-connection/hello.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ def get_client(connection: Union[CustomConnection, AzureOpenAIConnection]):
raise Exception(
"Please upgrade your OpenAI package to version >= 1.0.0 or using the command: pip install --upgrade openai."
)

# connection can be extract as a dict object contains the configs and secrets
if isinstance(connection, CustomConnection):
connection_dict = dict(connection)
Expand Down

0 comments on commit b42ed6f

Please sign in to comment.