Skip to content

Commit 24a14f2

Browse files
committed
Merge branch 'generic_agent_hinter' into hints_retrieve
2 parents f7d1545 + 5405029 commit 24a14f2

File tree

11 files changed

+1293
-293
lines changed

11 files changed

+1293
-293
lines changed

pyproject.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ dependencies = [
3434
"browsergym>=0.7.1",
3535
"joblib>=1.2.0",
3636
"openai>=1.7,<2",
37-
"langchain_community",
3837
"tiktoken",
3938
"huggingface_hub",
4039
"contexttimer",
@@ -102,6 +101,9 @@ dev = [
102101
"ipykernel>=6.30.1",
103102
"pip>=25.2",
104103
]
104+
hint = [
105+
"sentence-transformers>=5.0.0",
106+
]
105107

106108

107109
[project.scripts]
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
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_LLAMA3_70B,
17+
AGENT_LLAMA4_17B_INSTRUCT,
18+
AGENT_LLAMA31_70B,
19+
CHAT_MODEL_ARGS_DICT,
20+
RANDOM_SEARCH_AGENT,
21+
AGENT_4o,
22+
AGENT_4o_MINI,
23+
AGENT_4o_MINI_VISION,
24+
AGENT_4o_VISION,
25+
AGENT_o1_MINI,
26+
AGENT_o3_MINI,
27+
FLAGS_GPT_4o,
28+
GenericAgentArgs,
29+
AGENT_GPT5_MINI,
30+
)
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+
]

0 commit comments

Comments
 (0)