Skip to content

Commit 80474c8

Browse files
authored
Update README.md
1 parent 8eb793e commit 80474c8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ For a quick test you can pass your token directly to a new client:
103103
```ruby
104104
client = OpenAI::Client.new(
105105
access_token: "access_token_goes_here",
106-
log_errors: true # Highly recommended in development, so you can see what errors OpenAI is returning. Not recommended in production.
106+
log_errors: true # Highly recommended in development, so you can see what errors OpenAI is returning. Not recommended in production because it could leak private data to your logs.
107107
)
108108
```
109109

@@ -115,7 +115,7 @@ For a more robust setup, you can configure the gem with your API keys, for examp
115115
OpenAI.configure do |config|
116116
config.access_token = ENV.fetch("OPENAI_ACCESS_TOKEN")
117117
config.organization_id = ENV.fetch("OPENAI_ORGANIZATION_ID") # Optional
118-
config.log_errors = true # Highly recommended in development, so you can see what errors OpenAI is returning. Not recommended in production.
118+
config.log_errors = true # Highly recommended in development, so you can see what errors OpenAI is returning. Not recommended in production because it could leak private data to your logs.
119119
end
120120
```
121121

0 commit comments

Comments
 (0)