Agent App Config • Rust AI Agent SDK
AgentAppConfig: Agent application configuration
AgentAppConfig
Defined in the extras module.
Rust AI Agent SDK
Agent application configuration
%%{init: {'theme': 'base', 'themeVariables': { 'primaryColor': '#8B0000', 'primaryTextColor': '#fff', 'primaryBorderColor': '#710101', 'lineColor': '#189AB4', 'secondaryColor': '#189AB4', 'tertiaryColor': '#fff' }}}%%
graph LR
input["Input Data"] --> agent["Agent: AgentAppConfig"]
agent --> output["Output Result"]
style agent fill:#8B0000,color:#fff
style input fill:#8B0000,color:#fff
style output fill:#8B0000,color:#fffFields
| Name | Type | Description |
|---|---|---|
name | String | Application name |
version | String | Application version |
host | String | Host to bind to |
port | u16 | Port to bind to |
debug | bool | Enable debug mode |
Methods
new
fn new(name: impl Into<String>) -> SelfCreate a new app config
Parameters:
| Name | Type |
|---|---|
name | impl Into<String> |
Source
View on GitHubpraisonai/src/parity/extras.rs at line 365