Merge branch 'feature/hive-experimental-comp-pipeline' into feat/open-hive-colony
This commit is contained in:
@@ -10,13 +10,14 @@ export const sessionsApi = {
|
||||
// --- Session lifecycle ---
|
||||
|
||||
/** Create a session. If agentPath is provided, loads a graph in one step. */
|
||||
create: (agentPath?: string, agentId?: string, model?: string, initialPrompt?: string, queenResumeFrom?: string) =>
|
||||
create: (agentPath?: string, agentId?: string, model?: string, initialPrompt?: string, queenResumeFrom?: string, initialPhase?: string) =>
|
||||
api.post<LiveSession>("/sessions", {
|
||||
agent_path: agentPath,
|
||||
agent_id: agentId,
|
||||
model,
|
||||
initial_prompt: initialPrompt,
|
||||
queen_resume_from: queenResumeFrom || undefined,
|
||||
initial_phase: initialPhase || undefined,
|
||||
}),
|
||||
|
||||
/** List all active sessions. */
|
||||
|
||||
Reference in New Issue
Block a user