gpt-cli 0.1.4 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 50f343ce40c9b6b1a320305d13c63f53c27565e78b3eba260e24812ca4a59922
4
- data.tar.gz: df9ed612ec576b66b925835a5ec8399104937261c5e86f4dac43573b7c842d30
3
+ metadata.gz: 33ece0475b90d1a39ff89f1c9f889d843dbe17c45431054a47bcd368aa03f74d
4
+ data.tar.gz: 003306cca474d5b57a86ced368349efc6219b84dfb5db10e5f42acd15da29075
5
5
  SHA512:
6
- metadata.gz: a8631cd80e9b5dd4609103b06309c578d06edbb2535b3ca9aa0d6a255126273e34fc84aadc06a13ef0cc51ac8b3ff8897855934508ea6bb9c1acac09eead7e48
7
- data.tar.gz: ef833c19b1d265b4b41e7227f3bacadb2a7eba0546cef4598170d1cec7424665416bdd265def89fa6f36565d663cc497d3fd6d226acaebd2a0f68ec7c007d70c
6
+ metadata.gz: ca5aec69e41c2bfddd704c656948ed6f14b314315d77f5a33d595b0fee2148dee745cd346c6d7b646c67a3671f5460602e46577efdf61020fdaa6aaeb233c612
7
+ data.tar.gz: ae8cb560bc4f4e985f388217d51f9923421ce252d40eeaefc68c5453e945ce648a7708a67fcf5774373b7eb29a0d783d87086ed2a298fa7c3f8263cfe15934e7
data/CHANGELOG.md CHANGED
@@ -17,4 +17,8 @@
17
17
 
18
18
  - Added messages history
19
19
  - Added more context prompts
20
- - Added Dall-E support
20
+ - Added Dall-E support
21
+
22
+ ## [0.1.5] - 2023-03-25
23
+
24
+ - Bugfix
data/README.md CHANGED
@@ -7,9 +7,9 @@ Productivity stonks 📈📈📈
7
7
  Consider 🌟 this repo if you find this tool useful 🔥
8
8
 
9
9
  ## Features
10
- - Use the pipe to pass the output of commands to GPT or Dall-E.
10
+ - Use the pipe to pass the output of commands to GPT or Dall-E 2.
11
11
  - Choose your GPT model, GPT4 supported if you have access.
12
- - Dall-E support: generate images directly in your terminal.
12
+ - Dall-E 2 support: generate images directly in your terminal.
13
13
  - Contexts prompts tailored for your needs: add/update predefined context prompts or write your own when running the command.
14
14
  - Infinite conversation history: have chat sessions with GPT just like [chat.openai.com](https://chat.openai.com/) but in your terminal.
15
15
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module GPTCLI
4
- VERSION = "0.1.4"
4
+ VERSION = "0.1.5"
5
5
  end
data/lib/gpt-cli.rb CHANGED
@@ -2,14 +2,14 @@
2
2
 
3
3
  require_relative "gpt-cli/version"
4
4
 
5
- require 'digest/md5'
5
+ require "digest/md5"
6
6
  require "json"
7
7
  require "quick_openai"
8
8
  require "optparse"
9
9
 
10
10
  class ChatGPT
11
11
  attr_accessor :messages
12
- MESSAGES_FILE = 'message_history.json'
12
+ MESSAGES_FILE = File.join(Dir.home, 'gpt_cli_messages_history.json')
13
13
 
14
14
  def initialize
15
15
  @messages = load_messages
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gpt-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - John DeSilva