View source: R/retro_chat_mock.R
| retro_chat_mock | R Documentation |
Create an 'ellmer' chat object that does not authenticate or connect to any real provider. Useful for testing and development without network access.
retro_chat_mock()
The returned chat supports registering tools, setting system prompts, and all other local operations. It will error only if you attempt to send a message to the model.
An 'ellmer' chat object.
Other chats:
retro_chat_replay_simulation()
chat <- retro_chat_mock()
chat$get_system_prompt()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.