openai-term 3.0 → 3.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/bin/openai +2 -2
  3. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8c95f00a48589ec290dd7f1ac09f33d9ccf4672220cd8f4c7081d0ca3eab3151
4
- data.tar.gz: 07f25366a6efd7d51c2c5e1e29bdbd5ce068076fa4857977d049320ec1821245
3
+ metadata.gz: 5149ece8753a5a8ea0eb4a1fd22ef8d94c8a24393377a26b97ad34ba253d04eb
4
+ data.tar.gz: 3986c94d8ca984a3618685ca0fe22564872a67096d56734d6a65704eaacfbeb2
5
5
  SHA512:
6
- metadata.gz: 0c4e0cd5e1f296bc2f7898c2ecb562571f2b480ea78b307704218fa5747279769b1690234b85b108d1441c3052c9bc214f63b7f463ddb58e9aee4f59f394a9aa
7
- data.tar.gz: a575ceb6d31b93d69876b407b4007ea087e0f4d6f3641cde22f41d47d394680739448d3824c757b09e1bc3e3c9a16c90c6607e12bd93668b8ae197b6229de844
6
+ metadata.gz: 76e5e2c1aa675d107551e88d872249387854583b9c1a4b31f8dea43788428a22c1aaa6af112892bb6cc72531e661362a133cc97e90b38500d838066b9cbd6c86
7
+ data.tar.gz: 8656cf58972c66d8731c09fae0a612b4eda0136522297bf1bcc996b37cc267b990bc6aa696dbb9d56aed2239a83260bf75bbf8300c71dc07bbe025ae1690f8c8
data/bin/openai CHANGED
@@ -5,7 +5,7 @@
5
5
  # A modern TUI for interacting with OpenAI's API
6
6
 
7
7
  require 'optparse'
8
- require 'ruby/openai'
8
+ require 'openai'
9
9
  require 'rcurses'
10
10
  require 'json'
11
11
  require 'fileutils'
@@ -19,7 +19,7 @@ CONFIG_FILE = File.join(Dir.home, '.openai.conf')
19
19
  HISTORY_FILE = File.join(Dir.home, '.openai_history.json')
20
20
  DEFAULT_MODEL = "gpt-4-turbo-preview"
21
21
  DEFAULT_MAX_TOKENS = 2048
22
- VERSION = "3.0"
22
+ VERSION = "3.0.1"
23
23
 
24
24
  # Global variables
25
25
  @model = DEFAULT_MODEL
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: openai-term
3
3
  version: !ruby/object:Gem::Version
4
- version: '3.0'
4
+ version: 3.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Geir Isene
@@ -40,8 +40,8 @@ dependencies:
40
40
  version: '6.0'
41
41
  description: 'A modern terminal interface to OpenAI with a full TUI using rcurses.
42
42
  Features include interactive chat mode, conversation history, model selection, and
43
- more. Version 3.0: Breaking change - requires rcurses 6.0.0+ with explicit initialization
44
- for Ruby 3.4+ compatibility.'
43
+ more. Version 3.0.1: Fixed compatibility with ruby-openai 3.7.0 which moved from
44
+ ''ruby/openai'' to ''openai'' require path.'
45
45
  email: g@isene.com
46
46
  executables:
47
47
  - openai