MCPcopy Create free account
hub / github.com/ScrapeGraphAI/Scrapegraph-ai / CorrectionState

Class CorrectionState

scrapegraphai/utils/code_error_correction.py:41–49  ·  view source on GitHub ↗

Base model for code correction state validation.

Source from the content-addressed store, hash-verified

39
40
41class CorrectionState(BaseModel):
42 """Base model for code correction state validation."""
43
44 generated_code: str = Field(
45 ..., description="The original generated code to correct"
46 )
47
48 class Config:
49 extra = "allow"
50
51
52class ValidationCorrectionState(CorrectionState):

Calls

no outgoing calls

Tested by

no test coverage detected