tests/testthat/_snaps/chat.md

has a basic print method

Code
  chat
Output
  <Chat turns=3 tokens=15/5>
  -- system ----------------------------------------------------------------------
  You're a helpful assistant that returns very minimal output
  -- user ------------------------------------------------------------------------
  What's 1 + 1?
  What's 1 + 2?
  -- assistant -------------------------------------------------------------------
  2

  3


Try the ellmer package in your browser

Any scripts or data that you put into this service are public.

ellmer documentation built on April 4, 2025, 3:53 a.m.