initial prompt from home page

This commit is contained in:
bryan
2026-02-25 07:58:49 -08:00
parent 46237e7309
commit cf5bf6f174
7 changed files with 62 additions and 29 deletions
+2 -1
View File
@@ -13,11 +13,12 @@ export const sessionsApi = {
// --- Session lifecycle ---
/** Create a session. If agentPath is provided, loads worker in one step. */
create: (agentPath?: string, agentId?: string, model?: string) =>
create: (agentPath?: string, agentId?: string, model?: string, initialPrompt?: string) =>
api.post<LiveSession>("/sessions", {
agent_path: agentPath,
agent_id: agentId,
model,
initial_prompt: initialPrompt,
}),
/** List all active sessions. */