simonpcouch / pal

LLM assistants for R
https://simonpcouch.github.io/pal/
Other
5 stars 3 forks source link

interface for custom pals #26

Closed simonpcouch closed 1 week ago

simonpcouch commented 1 week ago

Related to but does not close #4. Rather than as in #23, this implements one single addin that's registered in the usual way and attached to a Shiny Gadget that allows users to quickly search through a list of pals that can be dynamically registered.

https://github.com/user-attachments/assets/d63f256d-2acf-450f-beff-3a721fd15ecf

The gadget is quite clunky for now, but it doesn't look like dynamically registering addins will be a possibility in RStudio.

Notably, the default pals are now registered with the same interface that users would use. With a quick global option pointing to a directly of prompts, the package should be able to load custom pals .onLoad().