Skip to content

CodeConfiguration

Structure Class

CodeConfiguration dataclass

Bases: _SerdeShape

The configuration for the source code that defines how the agent runtime code should be executed, including the code location, runtime environment, and entry point.

Attributes

code instance-attribute
code: Code

The source code location and configuration details.

entry_point instance-attribute
entry_point: list[str]

The entry point for the code execution, specifying the function or method that should be invoked when the code runs.

runtime instance-attribute
runtime: str

The runtime environment for executing the agent code. Specify the programming language and version to use for the agent runtime. For valid values, see the list of supported runtimes.