Skip to content

Commit 87f8f23

Browse files
committed
fixed merge conflict
1 parent 329cf6d commit 87f8f23

3 files changed

Lines changed: 320 additions & 10 deletions

File tree

‎examples/quickstart.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@
1515
"model_name": "gpt-5-nano",
1616
"api_key": os.getenv("OPENAI_API_KEY"),
1717
},
18-
environment="local",
18+
environment="docker",
1919
environment_kwargs={},
2020
max_depth=1,
2121
logger=logger,
2222
verbose=True, # For printing to console with rich, disabled by default.
2323
)
2424

25-
result = rlm.completion("Print me the first 100 powers of two, each on a newline.")
25+
result = rlm.completion("Print me the first 5 powers of two, each on a newline.")
2626

2727
print(result)

‎rlm/environments/__init__.py‎

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,11 @@ def get_environment(
2828
from rlm.environments.daytona_repl import DaytonaREPL
2929

3030
return DaytonaREPL(**environment_kwargs)
31-
else:
32-
raise ValueError(
33-
f"Unknown environment: {environment}. Supported: ['local', 'modal', 'docker', 'daytona']"
3431
elif environment == "prime":
3532
from rlm.environments.prime_repl import PrimeREPL
3633

3734
return PrimeREPL(**environment_kwargs)
3835
else:
3936
raise ValueError(
40-
f"Unknown environment: {environment}. Supported: ['local', 'modal', 'docker', 'prime']"
37+
f"Unknown environment: {environment}. Supported: ['local', 'modal', 'docker', 'daytona', 'prime']"
4138
)

0 commit comments

Comments
 (0)