MCPcopy Create free account
hub / github.com/ResearAI/AutoFigure / __init__

Method __init__

autofigure/agent.py:70–87  ·  view source on GitHub ↗

Initialize AutoFigureAgent. Args: config: AutoFigure configuration

(self, config: Config)

Source from the content-addressed store, hash-verified

68 """
69
70 def __init__(self, config: Config):
71 """
72 Initialize AutoFigureAgent.
73
74 Args:
75 config: AutoFigure configuration
76 """
77 self.config = config
78 self._extractor = None
79 self._enhancer = None
80
81 # Validate configuration
82 errors = config.validate()
83 if errors:
84 print(f"[AutoFigureAgent] Configuration warnings: {errors}")
85
86 # Update generator CONFIG from SDK config
87 update_config_from_sdk(config)
88
89 @property
90 def extractor(self) -> MethodologyExtractor:

Callers

nothing calls this directly

Calls 2

update_config_from_sdkFunction · 0.85
validateMethod · 0.80

Tested by

no test coverage detected