CodeBlock - AG2

CodeBlock

autogen.coding.CodeBlock

Bases: BaseModel

(Experimental) A class that represents a code block.

code`class-attributeinstance-attribute``

code = Field(description='The code to execute.')

language`class-attributeinstance-attribute``

language = Field(description='The language of the code.')