Learn R Programming

aisdk (version 1.1.0)

wrap_reactive_tools: Wrap Reactive Tools

Description

Wraps reactive tools to inject reactiveValues and session into their execute functions. Call this in your Shiny server before passing tools to aiChatServer.

Usage

wrap_reactive_tools(tools, rv, session)

Value

List of wrapped Tool objects ready for use.

Arguments

tools

List of Tool objects, possibly including ReactiveTool objects.

rv

The reactiveValues object to inject.

session

The Shiny session object to inject.