Skip to content

Commit 9d7d32b

Browse files
committed
Improve README
1 parent 8c10996 commit 9d7d32b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -110,11 +110,11 @@ end
110110

111111
#### Verbose Logging
112112

113-
You can pass Faraday connection options to the client in a block, eg. to enable verbose logging:
113+
You can pass [Faraday middleware](https://lostisland.github.io/faraday/#/middleware/index) to the client in a block, eg. to enable verbose logging:
114114

115115
```ruby
116-
client = OpenAI::Client.new do |client|
117-
client.response :logger, ::Logger.new(STDOUT), bodies: true
116+
client = OpenAI::Client.new do |f|
117+
f.response :logger, ::Logger.new(STDOUT), bodies: true
118118
end
119119
```
120120

0 commit comments

Comments
 (0)