Skip to content

Commit 121453f

Browse files
committed
Merge remote-tracking branch 'origin/main' into wa_verified
2 parents b317925 + 8d81f3c commit 121453f

File tree

15 files changed

+1671
-156
lines changed

15 files changed

+1671
-156
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,13 +279,15 @@ dynamic benchmarks.
279279

280280
## Variables
281281
Here's a list of relevant env. variables that are used by AgentLab:
282-
- `OPEAI_API_KEY` which is used by default for OpenAI LLMs.
282+
- `OPENAI_API_KEY` which is used by default for OpenAI LLMs.
283283
- `AZURE_OPENAI_API_KEY`, used by default for AzureOpenAI LLMs.
284284
- `AZURE_OPENAI_ENDPOINT` to specify your Azure endpoint.
285285
- `OPENAI_API_VERSION` for the Azure API.
286286
- `OPENROUTER_API_KEY` for the Openrouter API
287287
- `AGENTLAB_EXP_ROOT`, desired path for your experiments to be stored, defaults to `~/agentlab-results`.
288288
- `AGENTXRAY_SHARE_GRADIO`, which prompts AgentXRay to open a public tunnel on launch.
289+
- `RAY_PUBLIC_DASHBOARD` (true / false), used to specify whether the ray dashboard should be made publicly accessible (`0.0.0.0`) or not (`127.0.0.1`).
290+
- `RAY_DASHBOARD_PORT` (int), used to specify the port on which the ray dashboard should be accessible.
289291

290292
## Misc
291293

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
import importlib, sys, warnings
2+
3+
OLD = __name__
4+
NEW = "agentlab.agents.hint_use_agent"
5+
SUBS = ("agent_configs", "generic_agent_prompt", "generic_agent", "tmlr_config")
6+
7+
warnings.warn(
8+
f"{OLD} is renamed to {NEW}. {OLD} will be removed in future",
9+
DeprecationWarning,
10+
stacklevel=2,
11+
)
12+
13+
# Alias the top-level
14+
new_mod = importlib.import_module(NEW)
15+
sys.modules[OLD] = new_mod
16+
17+
# Alias known submodules
18+
for sub in SUBS:
19+
sys.modules[f"{OLD}.{sub}"] = importlib.import_module(f"{NEW}.{sub}")
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
"""
2+
Baseline agent for all ServiceNow papers
3+
4+
This module contains the GenericAgent class, which is the baseline agent for all ServiceNow papers. \
5+
It is a simple agent that can be ran OOB on all BrowserGym environments. It is also shipped with \
6+
a few configurations that can be used to run it on different environments.
7+
"""
8+
9+
from .agent_configs import (
10+
AGENT_3_5,
11+
AGENT_8B,
12+
AGENT_37_SONNET,
13+
AGENT_CLAUDE_SONNET_35,
14+
AGENT_CLAUDE_SONNET_35_VISION,
15+
AGENT_CUSTOM,
16+
AGENT_GPT5_MINI,
17+
AGENT_GPT5_NANO,
18+
AGENT_LLAMA3_70B,
19+
AGENT_LLAMA4_17B_INSTRUCT,
20+
AGENT_LLAMA31_70B,
21+
CHAT_MODEL_ARGS_DICT,
22+
RANDOM_SEARCH_AGENT,
23+
AGENT_4o,
24+
AGENT_4o_MINI,
25+
AGENT_4o_MINI_VISION,
26+
AGENT_4o_VISION,
27+
AGENT_o1_MINI,
28+
AGENT_o3_MINI,
29+
FLAGS_GPT_4o,
30+
GenericAgentArgs,
31+
)
32+
from .generic_agent import GenericAgent, GenericAgentArgs
33+
34+
__all__ = [
35+
"AGENT_3_5",
36+
"AGENT_4o",
37+
"AGENT_4o_MINI",
38+
"AGENT_4o_VISION",
39+
"AGENT_o3_MINI",
40+
"AGENT_o1_MINI",
41+
"AGENT_LLAMA4_17B_INSTRUCT",
42+
"AGENT_LLAMA3_70B",
43+
"AGENT_LLAMA31_70B",
44+
"AGENT_8B",
45+
"RANDOM_SEARCH_AGENT",
46+
"AGENT_CUSTOM",
47+
"AGENT_CLAUDE_SONNET_35",
48+
"AGENT_37_SONNET",
49+
"AGENT_4o_VISION",
50+
"AGENT_4o_MINI_VISION",
51+
"AGENT_CLAUDE_SONNET_35_VISION",
52+
"AGENT_GPT5_MINI",
53+
"AGENT_GPT5_NANO",
54+
]

0 commit comments

Comments
 (0)