huskies: merge 948

This commit is contained in:
dave
2026-05-13 04:43:48 +00:00
parent 2f50e2198b
commit f2943c7e69
16 changed files with 995 additions and 205 deletions
+7 -8
View File
@@ -100,8 +100,8 @@ export const agentsApi = {
return rpcCall<AgentInfo[]>("active_agents.list");
},
getAgentConfig(baseUrl?: string) {
return requestJson<AgentConfigInfo[]>("/agents/config", {}, baseUrl);
getAgentConfig(_baseUrl?: string) {
return rpcCall<AgentConfigInfo[]>("agent_config.list");
},
reloadConfig(baseUrl?: string) {
@@ -112,12 +112,11 @@ export const agentsApi = {
);
},
getAgentOutput(storyId: string, agentName: string, baseUrl?: string) {
return requestJson<{ output: string }>(
`/agents/${encodeURIComponent(storyId)}/${encodeURIComponent(agentName)}/output`,
{},
baseUrl,
);
getAgentOutput(storyId: string, agentName: string, _baseUrl?: string) {
return rpcCall<{ output: string }>("agents.get_output", {
story_id: storyId,
agent_name: agentName,
});
},
};