Code Config • AI Agent SDK
CodeConfig: Configuration for CodeAgent.
CodeConfig
Defined in the Code Agent module.
AI Agent
Configuration for CodeAgent.
Attributes: sandbox: Enable sandboxed execution (default: True for safety) timeout: Execution timeout in seconds allowed_languages: List of allowed programming languages max_output_length: Maximum output length in characters working_directory: Working directory for code execution environment: Environment variables for execution
Properties
ResponseField
boolNo description available.
ResponseField
intNo description available.
ResponseField
List[str]No description available.
ResponseField
intNo description available.
ResponseField
Optional[str]No description available.
ResponseField
Dict[str, str]No description available.
Internal & Generic Methods
- to_dict: Convert config to dictionary.
Source
View on GitHubpraisonaiagents/agent/code_agent.py at line 10