MCPcopy Create free account
hub / github.com/enowdev/enowX-Coder / get_agent_config

Function get_agent_config

src-tauri/src/commands/agent.rs:93–98  ·  view source on GitHub ↗
(
    state: State<'_, AppState>,
    agent_type: String,
)

Source from the content-addressed store, hash-verified

91
92#[tauri::command]
93pub async fn get_agent_config(
94 state: State<'_, AppState>,
95 agent_type: String,
96) -> AppResult<Option<AgentConfig>> {
97 agent_service::get_agent_config(state.pool(), &agent_type).await
98}
99
100#[tauri::command]
101pub async fn upsert_agent_config(

Callers

nothing calls this directly

Calls 1

poolMethod · 0.80

Tested by

no test coverage detected