Skip to content

Commit

Permalink
httpx required dependency and fix for openai exception handling (#1165)
Browse files Browse the repository at this point in the history
  • Loading branch information
marklysze authored Feb 27, 2025
1 parent 9141339 commit 1fb3e9c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions autogen/oai/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -1146,6 +1146,8 @@ def yes_or_no_filter(context, response):
logger.debug(f"config {i} failed", exc_info=True)
if i == last:
raise
else:
raise
else:
raise
except (
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ dependencies = [
"packaging",
"asyncer==0.0.8",
"fast-depends>=2.4.12,<3",
"httpx>=0.28.1,<1",
]

[project.optional-dependencies]
Expand Down

0 comments on commit 1fb3e9c

Please sign in to comment.