lib/gpt-cli.rb in gpt-cli-0.1.4 vs lib/gpt-cli.rb in gpt-cli-0.1.5

- old
+ new

@@ -1,16 +1,16 @@ # frozen_string_literal: true require_relative "gpt-cli/version" -require 'digest/md5' +require "digest/md5" require "json" require "quick_openai" require "optparse" class ChatGPT attr_accessor :messages - MESSAGES_FILE = 'message_history.json' + MESSAGES_FILE = File.join(Dir.home, 'gpt_cli_messages_history.json') def initialize @messages = load_messages end \ No newline at end of file