MCPcopy Create free account
hub / github.com/block/buzz / updateManagedAgent

Function updateManagedAgent

desktop/src/shared/api/tauri.ts:1263–1274  ·  view source on GitHub ↗
(
  input: UpdateManagedAgentInput,
)

Source from the content-addressed store, hash-verified

1261};
1262
1263export async function updateManagedAgent(
1264 input: UpdateManagedAgentInput,
1265): Promise<{ agent: ManagedAgent; profileSyncError: string | null }> {
1266 const response = await invokeTauri<RawUpdateManagedAgentResponse>(
1267 "update_managed_agent",
1268 { input },
1269 );
1270 return {
1271 agent: fromRawManagedAgent(response.agent),
1272 profileSyncError: response.profile_sync_error,
1273 };
1274}
1275
1276// ── Backend provider discovery ────────────────────────────────────────────────
1277

Callers 4

handleModelChangeFunction · 0.90

Calls 1

fromRawManagedAgentFunction · 0.85

Tested by

no test coverage detected