Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 0 additions & 28 deletions frontend/src/adk/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -287,34 +287,6 @@ export async function* runSSE({
}
}

/** Deploy a temporary agent for testing. */
export async function deployTempAgent(
name: string,
files: { path: string; content: string }[],
): Promise<string> {
const res = await apiFetch("/web/deploy-temp-agent", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({ name, files }),
});
if (!res.ok) {
const err = await res.text();
throw new Error(`Deploy failed: ${err}`);
}
const data = await res.json();
return data.appName;
}

/** Delete a temporary agent. */
export async function deleteTempAgent(appName: string): Promise<void> {
const res = await apiFetch(`/web/deploy-temp-agent/${appName}`, {
method: "DELETE",
});
if (!res.ok && res.status !== 404) {
throw new Error(`Delete failed: ${res.status}`);
}
}

export interface DeployAgentkitResult {
apikey: string;
url: string;
Expand Down
237 changes: 0 additions & 237 deletions frontend/src/ui/AgentTest.css

This file was deleted.

Loading
Loading