MCPcopy Create free account
hub / github.com/aiwaves-cn/agents / TaskSetting

Class TaskSetting

src/agents/optimization/optimizer.py:20–33  ·  view source on GitHub ↗

The TaskSetting class is used to hold the task settings for the optimizer.

Source from the content-addressed store, hash-verified

18
19class OptimizerConfig(Config):
20 class TaskSetting:
21 """
22 The TaskSetting class is used to hold the task settings for the optimizer.
23 """
24
25 def __init__(self, **kwargs):
26 """
27 Initializes the TaskSetting object.
28
29 Args:
30 **kwargs: Arbitrary keyword arguments for initializing the task settings.
31 """
32 self.has_ground_truth = kwargs.get("has_ground_truth", False)
33 self.has_result = kwargs.get("has_result", False)
34
35 def __init__(self, config_path_or_dict):
36 """

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected