Ir al contenido

Crew store

import { Aside } from ‘@astrojs/starlight/components’;

sdk.crew está documentado en la sección Crew:

Página Contenido
Introducción Qué es Crew y cómo funcionan los runs
Tools Cada tool en detalle
Patrones y ejemplos Refrescar → narrar → entregar
SDK y API Métodos, tipos, REST
await sdk.crew.define({ instructions: '…', tools: { read: ['json_get'], write: ['json_set'] } });
for await (const event of sdk.crew.run()) {
if (event.type === 'finish') console.log(event.summary);
}

Ver SDK y API.