INNER CODE UNIT · TypeScript

getSession

apache/kyuubi · kyuubi-server/web-ui/src/api/data-agent/index.ts:51

export function getSession(sessionHandle: string) {
  return request({
    url: `api/v1/sessions/${sessionHandle}`,
    method: 'get'
  })
}

export interface ApprovalResponse {
  status: 'ok' | 'not_found'
  action: 'approved' | 'denied'
  requestId: string
}

export function approveToolCall(
  sessionHandle: string,
  requestId: string,
  approved: boolean
): Promise<ApprovalResponse> {

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…