show inference info

This commit is contained in:
2026-03-06 14:48:00 +08:00
parent 4b6e97d8fb
commit da17f2b319
4 changed files with 86 additions and 14 deletions

View File

@@ -16,6 +16,7 @@ import type {
PipelineConversationMessagesResponse,
PipelineListResponse,
PipelineStopResponse,
RuntimeAuthInfoResponse,
} from "../types";
const API_BASE_URL =
@@ -142,6 +143,10 @@ export function stopPipeline(pipelineId: string): Promise<PipelineStopResponse>
});
}
export function getRuntimeAuthInfo(): Promise<RuntimeAuthInfoResponse> {
return fetchJson("/v1/runtime-auth");
}
export async function listPipelineConversations(
pipelineId: string,
limit = 100