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

Function fetchKiloOrganizations

apps/extension/src/shared/kilo-api-client.ts:260–280  ·  view source on GitHub ↗
({
  apiBaseUrl,
  fetch,
  signal,
  token,
}: FetchKiloOrganizationsOptions)

Source from the content-addressed store, hash-verified

258
259export const thinkingEffortLabel = (variant: string): string => {
260 switch (variant) {
261 case 'medium': {
262 return 'Med';
263 }
264 case 'minimal': {
265 return 'Min';
266 }
267 case 'xhigh': {
268 return 'XHigh';
269 }
270 default: {
271 return variant.charAt(0).toUpperCase() + variant.slice(1);
272 }
273 }
274};

Callers 2

Calls 4

fetchFunction · 0.70
trimTrailingSlashFunction · 0.70
jsonMethod · 0.65

Tested by

no test coverage detected