CodeAgent
Defined in the agents module.Rust AI Agent SDK A specialized agent for code generation and execution.
Fields
| Name | Type | Description |
|---|---|---|
name | String | Agent name |
model | String | LLM model |
config | CodeConfig | Code configuration |
instructions | Option<String> | System instructions |
verbose | bool | Verbose output |
Methods
new
name
generate
| Name | Type |
|---|---|
description | &str |
execute
| Name | Type |
|---|---|
_code | &str |
review
| Name | Type |
|---|---|
code | &str |
Source
View on GitHub
praisonai/src/agents/mod.rs at line 776
