composable_agents 3.3.0 → 3.3.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.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 25ea65199c3a7cbc39d42a1fc130212564879ca21a790a2a153cffdb842aa2c7
|
|
4
|
+
data.tar.gz: 68039d5cdcf0b94f31fcddf42900da77b8f5e8ce22c58f8b14aab706f284951b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9a707773175fb27c18ea2e96185e94da06f92541ceaa09c75cdf015f4f6cb29c41e779579f2b672336c73e4a243fdd46fe190717f018070979624e46c7502676
|
|
7
|
+
data.tar.gz: 4799b28d0665823cbca61eab7fd40714869475c9c817a1e8aa3e5e1518540cb41c36bb70a86d1bf4481e6b13378f6f410f5b7d5c594e90c54a2cac5e548e98b0
|
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
# [v3.3.1](https://github.com/Muriel-Salvan/composable_agents/compare/v3.3.0...v3.3.1) (2026-11-02 20:20:46)
|
|
2
|
+
|
|
3
|
+
### Patches
|
|
4
|
+
|
|
5
|
+
* [refactor: remove redundant instance variable initialization in retriable mixins](https://github.com/Muriel-Salvan/composable_agents/commit/de7fbde82ed2b9540831eeca976f44662a748af9)
|
|
6
|
+
|
|
1
7
|
# [v3.3.0](https://github.com/Muriel-Salvan/composable_agents/compare/v3.2.0...v3.3.0) (2026-11-02 17:21:04)
|
|
2
8
|
|
|
3
9
|
## Global changes
|
|
@@ -23,7 +23,6 @@
|
|
|
23
23
|
# @param kwargs [Hash] Keyword arguments passed to the parent initializer
|
|
24
24
|
def initialize(*args, artifacts_errors_max_retries: 3, **kwargs)
|
|
25
25
|
super(*args, **kwargs)
|
|
26
|
-
@retriable_artifacts_user_instructions = nil
|
|
27
26
|
max_retries = artifacts_errors_max_retries
|
|
28
27
|
artifacts_errors_retries = 0
|
|
29
28
|
last_artifact_keys = nil
|
|
@@ -63,8 +62,9 @@
|
|
|
63
62
|
# as given by the {OutputArtifactsError} raised by the run (or empty if none).
|
|
64
63
|
# @return [Hash{Symbol => Hash{Symbol => Object}}] Missing artifacts, per artifact name.
|
|
65
64
|
def missing_artifacts(output_artifacts_errors)
|
|
65
|
+
output_artifacts = saved_output_artifacts
|
|
66
66
|
normalized_output_artifacts_contracts
|
|
67
|
-
.reject { |artifact_name, _artifact_description|
|
|
67
|
+
.reject { |artifact_name, _artifact_description| output_artifacts.key?(artifact_name) }
|
|
68
68
|
.to_h do |artifact_name, artifact_description|
|
|
69
69
|
[
|
|
70
70
|
artifact_name,
|
|
@@ -27,7 +27,6 @@ module ComposableAgents
|
|
|
27
27
|
**kwargs
|
|
28
28
|
)
|
|
29
29
|
super(*args, **kwargs)
|
|
30
|
-
@retriable_cline_user_instructions = nil
|
|
31
30
|
max_retries = cline_errors_max_retries
|
|
32
31
|
initial_delay = cline_errors_retry_initial_delay_secs
|
|
33
32
|
backoff_factor = cline_errors_retry_backoff_factor
|
|
@@ -153,6 +153,13 @@ module ComposableAgents
|
|
|
153
153
|
"but the following error occurred: #{error}"
|
|
154
154
|
end
|
|
155
155
|
|
|
156
|
+
# Return the currently saved output artifacts
|
|
157
|
+
#
|
|
158
|
+
# @return [Hash{Symbol => Object}] The currently saved output artifacts
|
|
159
|
+
def saved_output_artifacts
|
|
160
|
+
@output_artifacts
|
|
161
|
+
end
|
|
162
|
+
|
|
156
163
|
private
|
|
157
164
|
|
|
158
165
|
# Get the output artifacts errors that should raise an {OutputArtifactsError} at the end of a run.
|