Skip to content

Commit

Permalink
Fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
humpydonkey committed Jun 3, 2024
1 parent c1ac4e2 commit 6b076ba
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion vision_agent/utils/execute.py
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,9 @@ class CodeInterpreterFactory:

@staticmethod
def get_default_instance() -> CodeInterpreter:
warnings.warn("Use new_instance() instead for production usage, get_default_instance() is for testing and will be removed in the future.")
warnings.warn(
"Use new_instance() instead for production usage, get_default_instance() is for testing and will be removed in the future."
)
inst_map = CodeInterpreterFactory._instance_map
instance = inst_map.get(CodeInterpreterFactory._default_key)
if instance:
Expand Down

0 comments on commit 6b076ba

Please sign in to comment.