Intelligence · interface
Explained in Agents and behaviour.
interface AiSession
import type { AiSession } from '@driftengine/ai';
run
run(request: AiRequest): AsyncIterable<AiEvent>
request
AiRequest
abort
abort(reason?: string): void
reason?
string