featherbit UI
    Preparing search index...

    Module chat/loop

    One user turn of the agent chat: stream a reply, run the requested tools (reads immediately, writes behind a confirmation), feed the results back, repeat until the model answers with text, the user aborts, or the round cap is hit. Pure with respect to React and the network — both come in as dependencies.

    Provider
    ToolRunner
    TurnDeps
    TurnHooks
    CONFIRM_TOOLS
    MAX_ROUNDS
    finishNotice
    isWriteTool
    needsConfirmation
    runTurn