Skip to content

Commit 04eef80

Browse files
committed
Simplify README upgrade section
1 parent f6f515c commit 04eef80

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,7 @@ and require with:
3737

3838
## Upgrading
3939

40-
The `::Ruby::OpenAI` module has been removed and all classes have been moved under the top level `::OpenAI` module.
41-
42-
However, a transitional `::Ruby::OpenAI` module has been added with aliases to the new location of the classes and constants. For now this compatibility layer is available when the gem is loaded with `require 'ruby/openai'` or by default with bundler, but are _not_ available when the gem is loaded with `require 'openai'` or `gem 'ruby-openai', require: 'openai'`. This backwards compatibility will be removed in Ruby OpenAI 4.0.
40+
The `::Ruby::OpenAI` module has been removed and all classes have been moved under the top level `::OpenAI` module. To upgrade, change `require 'ruby/openai'` to `require 'openai'` and change all references to `Ruby::OpenAI` to `OpenAI`.
4341

4442
## Usage
4543

0 commit comments

Comments
 (0)