Skip to content

Commit

Permalink
fix type
Browse files Browse the repository at this point in the history
  • Loading branch information
yzld2002 committed Sep 12, 2024
1 parent 49a74d6 commit 462684a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vision_agent/utils/execute.py
Original file line number Diff line number Diff line change
Expand Up @@ -706,7 +706,7 @@ def new_instance(
return instance


def _get_e2b_env() -> Dict[str, str] | None:
def _get_e2b_env() -> Union[Dict[str, str], None]:
openai_api_key = os.getenv("OPENAI_API_KEY", "")
anthropic_api_key = os.getenv("ANTHROPIC_API_KEY", "")
if openai_api_key or anthropic_api_key:
Expand Down

0 comments on commit 462684a

Please sign in to comment.