Ir al contenido

Crew store

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

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

PáginaContenido
IntroducciónQué es Crew y cómo funcionan los runs
ToolsCada tool en detalle
Patrones y ejemplosRefrescar → narrar → entregar
SDK y APIMé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.