We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff2a3c3 commit 7009bc2Copy full SHA for 7009bc2
src/agentlab/agents/agent_args.py
@@ -3,6 +3,16 @@
3
4
5
class AgentArgs(AbstractAgentArgs):
6
+ """Base class for agent arguments for instantiating an agent.
7
+
8
+ Define agent arguments as dataclass variables of this class. For example:
9
10
+ class MyAgentArgs(AgentArgs):
11
+ my_arg: str = "default_value"
12
+ my_other_arg: int = 42
13
14
+ Note: for working properly with AgentXRay, the arguments need to be serializable and hasable.
15
+ """
16
17
def set_benchmark(self, benchmark: bgym.Benchmark, demo_mode: bool):
18
"""Optional method to set benchmark specific flags.
0 commit comments