gander_peek {gander}R Documentation

Interface with the previous gander

Description

gander_peek() returns the ellmer Chat object from the most recent call to the gander assistant so that you can see what happened under-the-hood.

Note that gander initializes a new chat every time you invoke the addin, so the token count and conversation history only describes the most recent interaction with the package.

Usage

gander_peek()

Value

The ellmer Chat object from the last assistant interaction, or NULL if no previous interaction exists.

Examples

## Not run: 
# First, run the addin to generate a response.
gander_addin()

# Then, use this function to examine what happened under-the-hood:
gander_peek()

## End(Not run)


[Package gander version 0.1.0 Index]