ChatBotKit Node SDK
    Preparing search index...
    • Completes a single agent iteration. Handles tool calls and streams events for tool execution and completion.

      Parameters

      • options: Omit<{} & {} | Omit<{} & {}, "model"> & {}, "functions" | "limits"> & {
            abortSignal?: AbortSignal;
            client: ChatBotKit;
            tools?: Tools;
        }

      Returns AsyncGenerator<
          | {}
          | {}
          | {}
          | {}
          | {}
          | {}
          | {}
          | {}
          | {}
          | {}
          | ToolCallStartEvent
          | ToolCallEndEvent
          | ToolCallErrorEvent,
          void,
          unknown,
      >