MCPcopy Create free account
hub / github.com/Dizzy-K/AutoPT / OptimizationConfig

Class OptimizationConfig

config/schema.py:63–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61
62@dataclass(slots=True)
63class OptimizationConfig:
64 enabled: bool = False
65 model: str = "gpt-4"
66 optimize_states: list[str] = field(default_factory=lambda: ["scan", "inquire", "exploit"])
67
68 @property
69 def isopt(self) -> bool:
70 return self.enabled
71
72
73@dataclass(slots=True)

Callers 1

_build_optimizationFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected