anthropic 0.3.1 → 0.3.2
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -1
- data/Gemfile.lock +1 -1
- data/lib/anthropic/http.rb +3 -1
- data/lib/anthropic/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4b7437e17231234859a48749dd8da3cdbd5a809df002cb2654a78b6d91edbff5
|
|
4
|
+
data.tar.gz: 38b2a62cc793013345b9eeef31d152f3fcd1a704515a45640132ff8ceccfd24c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 53e3400a7f4a752a981e788dac7b83c286732dd18216ad0314a7a84d703f582930b5dcaeae19ebcd8c8ab3ace746dbe277e096fe5604c5b3edc9163acf1b16fd
|
|
7
|
+
data.tar.gz: 94ea524fb3e4b6a1e7b8f3277315b7a001488bbb7d345240cf6120820af405be212f6a8e6a30f480e2c14110cc03cd71545cf022538d6ce1c8936f7631cef41e
|
data/CHANGELOG.md
CHANGED
|
@@ -5,11 +5,17 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [0.3.2] - 2024-10-09
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
|
|
12
|
+
- Fix for use with older versions of Faraday pre-v2.5.0. Thanks to [@geeosh](https://github.com/geeosh) for the PR!
|
|
13
|
+
|
|
8
14
|
## [0.3.1] - 2024-10-09
|
|
9
15
|
|
|
10
16
|
### Fixed
|
|
11
17
|
|
|
12
|
-
- Fix for Tool streaming.
|
|
18
|
+
- Fix for Tool streaming. Thanks to [@Leteyski](https://github.com/Leteyski) for this fix!
|
|
13
19
|
|
|
14
20
|
## [0.3.0] - 2024-06-10
|
|
15
21
|
|
data/Gemfile.lock
CHANGED
data/lib/anthropic/http.rb
CHANGED
|
@@ -73,7 +73,9 @@ module Anthropic
|
|
|
73
73
|
preprocess_stack = ""
|
|
74
74
|
|
|
75
75
|
proc do |chunk, _bytes, env|
|
|
76
|
-
|
|
76
|
+
# Versions of Faraday < 2.5.0 do not include an `env` argument,
|
|
77
|
+
# so we have to assume they are successful
|
|
78
|
+
handle_faraday_error(chunk, env) if env
|
|
77
79
|
|
|
78
80
|
parser.feed(chunk) do |type, data|
|
|
79
81
|
parsed_data = JSON.parse(data)
|
data/lib/anthropic/version.rb
CHANGED