MCPcopy Create free account
hub / github.com/Kilo-Org/cloud / startSession

Function startSession

services/cloud-agent-next/test/e2e/client.ts:144–151  ·  view source on GitHub ↗
(
  config: DriverConfig,
  args: StartSessionArgs,
  api: ApiVersion = 'unified'
)

Source from the content-addressed store, hash-verified

142 )
143 .replace(/Bearer\s+[^\s,;]+/gi, 'Bearer [redacted]')
144 .slice(0, 240)
145 : 'request rejected';
146 if (
147 'data' in parsed.error &&
148 typeof parsed.error.data === 'object' &&
149 parsed.error.data !== null &&
150 'code' in parsed.error.data &&
151 typeof parsed.error.data.code === 'string'
152 ) {
153 return `${parsed.error.data.code}: ${message}`;
154 }

Callers 15

lifecycleColdFunction · 0.85
lifecycleHotFunction · 0.85
lifecycleColdHotFunction · 0.85
lifecycleExternalKillFunction · 0.85
lifecycleKillMidFlightFunction · 0.85
lifecycleQueueWhileBusyFunction · 0.85
lifecycleQueueOverflowFunction · 0.85
lifecycleLlmErrorFunction · 0.85
lifecycleEmptyResponseFunction · 0.85

Calls 2

startSessionLegacyFunction · 0.85
startSessionUnifiedFunction · 0.85

Tested by

no test coverage detected