lib/gen_ai/chat.rb in gen-ai-0.4.1 vs lib/gen_ai/chat.rb in gen-ai-0.4.2
- old
+ new
@@ -2,10 +2,10 @@
module GenAI
class Chat
extend Forwardable
- def_delegators :@chat, :start, :message
+ def_delegators :@chat, :start, :message, :history
def initialize(provider, token, options: {})
build_chat(provider, token, options)
end