Skip to content

Commit 3be06ef

Browse files
committed
update
1 parent 61570a0 commit 3be06ef

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

camel/interpreters/microsandbox_interpreter.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,7 @@ def __init__(
9191
)
9292
except ImportError as e:
9393
raise ImportError(
94-
"Please install microsandbox to use MicrosandboxInterpreter: "
95-
"`pip install microsandbox`"
94+
"Please install microsandbox to use MicrosandboxInterpreter"
9695
) from e
9796

9897
# Store parameters, let SDK handle defaults and environment variables

examples/interpreters/microsandbox_interpreter_example.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def test_python_example():
2121
print("=== Python Example ===")
2222
interpreter = MicrosandboxInterpreter(
2323
require_confirm=False,
24-
server_url="http://192.168.122.56:5555",
24+
server_url="http://127.0.0.1:5555",
2525
namespace="default",
2626
sandbox_name="python-test",
2727
)
@@ -49,7 +49,7 @@ def test_javascript_example():
4949
print("=== JavaScript Example ===")
5050
interpreter = MicrosandboxInterpreter(
5151
require_confirm=False,
52-
server_url="http://192.168.122.56:5555",
52+
server_url="http://127.0.0.1:5555",
5353
namespace="default",
5454
sandbox_name="js-test",
5555
)
@@ -77,7 +77,7 @@ def test_shell_example():
7777
print("=== Shell Example ===")
7878
interpreter = MicrosandboxInterpreter(
7979
require_confirm=False,
80-
server_url="http://192.168.122.56:5555",
80+
server_url="http://127.0.0.1:5555",
8181
namespace="default",
8282
sandbox_name="shell-test",
8383
)
@@ -99,7 +99,7 @@ def test_package_example():
9999
print("=== Available Packages Test ===")
100100
interpreter = MicrosandboxInterpreter(
101101
require_confirm=False,
102-
server_url="http://192.168.122.56:5555",
102+
server_url="http://127.0.0.1:5555",
103103
namespace="default",
104104
sandbox_name="package-test",
105105
)

0 commit comments

Comments
 (0)