ReflectionConfig
Defined in the config module.Rust AI Agent SDK Configuration for self-reflection
Fields
| Name | Type | Description |
|---|---|---|
enabled | bool | Enable reflection |
min_iterations | usize | Minimum iterations |
max_iterations | usize | Maximum iterations |
llm | Option<String> | Reflection LLM (if different from main) |
prompt | Option<String> | Custom reflection prompt |
Methods
new
enabled
min_iterations
| Name | Type |
|---|---|
min | usize |
max_iterations
| Name | Type |
|---|---|
max | usize |
llm
| Name | Type |
|---|---|
llm | impl Into<String> |
prompt
| Name | Type |
|---|---|
prompt | impl Into<String> |
Source
View on GitHub
praisonai/src/config.rs at line 554
