simple-agents-py 0.2.1__tar.gz → 0.2.2__tar.gz
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.
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/Cargo.lock +12 -12
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/Cargo.toml +1 -1
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/PKG-INFO +1 -1
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-cache/src/memory.rs +3 -1
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-core/Cargo.toml +3 -3
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-core/src/client.rs +7 -2
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-core/src/middleware.rs +1 -5
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-healing/Cargo.toml +1 -1
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-providers/Cargo.toml +3 -3
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-py/Cargo.toml +5 -5
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-py/uv.lock +1 -1
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/pyproject.toml +1 -1
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/README.md +0 -0
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agent-type/Cargo.toml +0 -0
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agent-type/README.md +0 -0
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agent-type/TEST_GUIDE.md +0 -0
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agent-type/examples/basic_usage.rs +0 -0
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agent-type/examples/mock_provider.rs +0 -0
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agent-type/src/cache.rs +0 -0
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agent-type/src/coercion.rs +0 -0
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agent-type/src/config.rs +0 -0
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agent-type/src/error.rs +0 -0
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agent-type/src/lib.rs +0 -0
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agent-type/src/message.rs +0 -0
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agent-type/src/provider.rs +0 -0
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agent-type/src/request.rs +0 -0
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agent-type/src/response.rs +0 -0
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agent-type/src/router.rs +0 -0
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agent-type/src/tool.rs +0 -0
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agent-type/src/validation.rs +0 -0
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agent-type/tests/integration_test.rs +0 -0
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-cache/Cargo.toml +0 -0
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-cache/src/lib.rs +0 -0
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-cache/src/noop.rs +0 -0
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-core/README.md +0 -0
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-core/examples/basic_client.rs +0 -0
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-core/src/healing.rs +0 -0
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-core/src/lib.rs +0 -0
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-core/src/routing.rs +0 -0
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-core/tests/client_integration.rs +0 -0
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-healing/README.md +0 -0
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-healing/benches/parser_benchmarks.rs +0 -0
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-healing/examples/basic_healing.rs +0 -0
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-healing/examples/coercion_demo.rs +0 -0
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-healing/examples/streaming_annotations.rs +0 -0
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-healing/examples/streaming_partial_types.rs +0 -0
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-healing/src/coercion.rs +0 -0
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-healing/src/lib.rs +0 -0
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-healing/src/parser.rs +0 -0
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-healing/src/schema.rs +0 -0
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-healing/src/streaming.rs +0 -0
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-healing/src/string_utils.rs +0 -0
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-healing/tests/parser_tests.rs +0 -0
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-healing/tests/property_tests.rs +0 -0
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-healing/tests/stream_annotations_tests.rs +0 -0
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-healing/tests/streaming_tests.rs +0 -0
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-macros/Cargo.toml +0 -0
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-macros/README.md +0 -0
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-macros/src/lib.rs +0 -0
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-macros/src/partial.rs +0 -0
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-macros/tests/partial_type_tests.rs +0 -0
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-providers/README.md +0 -0
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-providers/examples/anthropic_basic.rs +0 -0
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-providers/examples/anthropic_structured_output.rs +0 -0
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-providers/examples/cache_usage.rs +0 -0
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-providers/examples/custom_api.rs +0 -0
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-providers/examples/healing_fallback.rs +0 -0
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-providers/examples/openai_basic.rs +0 -0
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-providers/examples/openai_structured_output.rs +0 -0
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-providers/examples/openrouter_basic.rs +0 -0
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-providers/examples/retry_demo.rs +0 -0
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-providers/examples/streaming.rs +0 -0
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-providers/examples/streaming_structured.rs +0 -0
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-providers/examples/streaming_with_healing.rs +0 -0
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-providers/examples/test_local_api.rs +0 -0
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-providers/examples/test_reqwest.rs +0 -0
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-providers/run_integration_tests.sh +0 -0
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-providers/src/anthropic/error.rs +0 -0
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-providers/src/anthropic/mod.rs +0 -0
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-providers/src/anthropic/models.rs +0 -0
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-providers/src/anthropic/streaming.rs +0 -0
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-providers/src/common/error.rs +0 -0
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-providers/src/common/http_client.rs +0 -0
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-providers/src/common/mod.rs +0 -0
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-providers/src/healing_integration.rs +0 -0
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-providers/src/lib.rs +0 -0
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-providers/src/metrics.rs +0 -0
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-providers/src/openai/error.rs +0 -0
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-providers/src/openai/mod.rs +0 -0
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-providers/src/openai/models.rs +0 -0
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-providers/src/openai/streaming.rs +0 -0
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-providers/src/openrouter/mod.rs +0 -0
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-providers/src/rate_limit.rs +0 -0
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-providers/src/retry.rs +0 -0
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-providers/src/schema_converter.rs +0 -0
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-providers/src/streaming_structured.rs +0 -0
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-providers/src/utils.rs +0 -0
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-providers/tests/README.md +0 -0
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-providers/tests/healing_integration_tests.rs +0 -0
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-providers/tests/openai_integration.rs +0 -0
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-py/README.md +0 -0
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-py/examples/client_builder_demo.py +0 -0
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-py/examples/direct_healing_demo.py +0 -0
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-py/examples/healing_demo.py +0 -0
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-py/examples/routing_config_demo.py +0 -0
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-py/examples/streaming_demo.py +0 -0
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-py/examples/streaming_parser_demo.py +0 -0
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-py/examples/structured_streaming_demo.py +0 -0
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-py/py.typed +0 -0
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-py/simple_agents_py.pyi +0 -0
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-py/src/lib.rs +0 -0
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-py/tests/test_client.py +0 -0
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-py/tests/test_client_builder.py +0 -0
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-py/tests/test_direct_healing.py +0 -0
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-py/tests/test_healing.py +0 -0
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-py/tests/test_integration_openai.py +0 -0
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-py/tests/test_routing_config.py +0 -0
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-py/tests/test_streaming.py +0 -0
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-py/tests/test_streaming_parser.py +0 -0
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-py/tests/test_structured_streaming.py +0 -0
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-router/Cargo.toml +0 -0
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-router/examples/round_robin_router.rs +0 -0
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-router/src/circuit_breaker.rs +0 -0
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-router/src/cost.rs +0 -0
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-router/src/fallback.rs +0 -0
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-router/src/health.rs +0 -0
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-router/src/latency.rs +0 -0
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-router/src/lib.rs +0 -0
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-router/src/retry.rs +0 -0
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-router/src/round_robin.rs +0 -0
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-router/tests/health_tracker_integration.rs +0 -0
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/py.typed +0 -0
- {simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/simple_agents_py.pyi +0 -0
|
@@ -2142,7 +2142,7 @@ checksum = "e320a6c5ad31d271ad523dcf3ad13e2767ad8b1cb8f047f75a8aeaf8da139da2"
|
|
|
2142
2142
|
|
|
2143
2143
|
[[package]]
|
|
2144
2144
|
name = "simple-agent-type"
|
|
2145
|
-
version = "0.2.
|
|
2145
|
+
version = "0.2.2"
|
|
2146
2146
|
dependencies = [
|
|
2147
2147
|
"async-trait",
|
|
2148
2148
|
"blake3",
|
|
@@ -2157,7 +2157,7 @@ dependencies = [
|
|
|
2157
2157
|
|
|
2158
2158
|
[[package]]
|
|
2159
2159
|
name = "simple-agents-cache"
|
|
2160
|
-
version = "0.2.
|
|
2160
|
+
version = "0.2.2"
|
|
2161
2161
|
dependencies = [
|
|
2162
2162
|
"async-trait",
|
|
2163
2163
|
"simple-agent-type",
|
|
@@ -2166,7 +2166,7 @@ dependencies = [
|
|
|
2166
2166
|
|
|
2167
2167
|
[[package]]
|
|
2168
2168
|
name = "simple-agents-cli"
|
|
2169
|
-
version = "0.2.
|
|
2169
|
+
version = "0.2.2"
|
|
2170
2170
|
dependencies = [
|
|
2171
2171
|
"clap",
|
|
2172
2172
|
"serde",
|
|
@@ -2183,7 +2183,7 @@ dependencies = [
|
|
|
2183
2183
|
|
|
2184
2184
|
[[package]]
|
|
2185
2185
|
name = "simple-agents-core"
|
|
2186
|
-
version = "0.2.
|
|
2186
|
+
version = "0.2.2"
|
|
2187
2187
|
dependencies = [
|
|
2188
2188
|
"async-trait",
|
|
2189
2189
|
"futures-core",
|
|
@@ -2200,7 +2200,7 @@ dependencies = [
|
|
|
2200
2200
|
|
|
2201
2201
|
[[package]]
|
|
2202
2202
|
name = "simple-agents-examples"
|
|
2203
|
-
version = "0.2.
|
|
2203
|
+
version = "0.2.2"
|
|
2204
2204
|
dependencies = [
|
|
2205
2205
|
"dotenv",
|
|
2206
2206
|
"futures-util",
|
|
@@ -2213,7 +2213,7 @@ dependencies = [
|
|
|
2213
2213
|
|
|
2214
2214
|
[[package]]
|
|
2215
2215
|
name = "simple-agents-ffi"
|
|
2216
|
-
version = "0.2.
|
|
2216
|
+
version = "0.2.2"
|
|
2217
2217
|
dependencies = [
|
|
2218
2218
|
"async-trait",
|
|
2219
2219
|
"simple-agent-type",
|
|
@@ -2224,7 +2224,7 @@ dependencies = [
|
|
|
2224
2224
|
|
|
2225
2225
|
[[package]]
|
|
2226
2226
|
name = "simple-agents-healing"
|
|
2227
|
-
version = "0.2.
|
|
2227
|
+
version = "0.2.2"
|
|
2228
2228
|
dependencies = [
|
|
2229
2229
|
"criterion",
|
|
2230
2230
|
"proptest",
|
|
@@ -2240,7 +2240,7 @@ dependencies = [
|
|
|
2240
2240
|
|
|
2241
2241
|
[[package]]
|
|
2242
2242
|
name = "simple-agents-macros"
|
|
2243
|
-
version = "0.2.
|
|
2243
|
+
version = "0.2.2"
|
|
2244
2244
|
dependencies = [
|
|
2245
2245
|
"proc-macro2",
|
|
2246
2246
|
"quote",
|
|
@@ -2252,7 +2252,7 @@ dependencies = [
|
|
|
2252
2252
|
|
|
2253
2253
|
[[package]]
|
|
2254
2254
|
name = "simple-agents-napi"
|
|
2255
|
-
version = "0.2.
|
|
2255
|
+
version = "0.2.2"
|
|
2256
2256
|
dependencies = [
|
|
2257
2257
|
"napi",
|
|
2258
2258
|
"napi-derive",
|
|
@@ -2264,7 +2264,7 @@ dependencies = [
|
|
|
2264
2264
|
|
|
2265
2265
|
[[package]]
|
|
2266
2266
|
name = "simple-agents-providers"
|
|
2267
|
-
version = "0.2.
|
|
2267
|
+
version = "0.2.2"
|
|
2268
2268
|
dependencies = [
|
|
2269
2269
|
"async-trait",
|
|
2270
2270
|
"bytes",
|
|
@@ -2292,7 +2292,7 @@ dependencies = [
|
|
|
2292
2292
|
|
|
2293
2293
|
[[package]]
|
|
2294
2294
|
name = "simple-agents-py"
|
|
2295
|
-
version = "0.2.
|
|
2295
|
+
version = "0.2.2"
|
|
2296
2296
|
dependencies = [
|
|
2297
2297
|
"async-trait",
|
|
2298
2298
|
"futures-util",
|
|
@@ -2311,7 +2311,7 @@ dependencies = [
|
|
|
2311
2311
|
|
|
2312
2312
|
[[package]]
|
|
2313
2313
|
name = "simple-agents-router"
|
|
2314
|
-
version = "0.2.
|
|
2314
|
+
version = "0.2.2"
|
|
2315
2315
|
dependencies = [
|
|
2316
2316
|
"async-trait",
|
|
2317
2317
|
"futures-core",
|
|
@@ -358,7 +358,9 @@ mod tests {
|
|
|
358
358
|
let mut handles = Vec::new();
|
|
359
359
|
for _ in 0..25 {
|
|
360
360
|
let cache = cache.clone();
|
|
361
|
-
handles.push(tokio::spawn(
|
|
361
|
+
handles.push(tokio::spawn(
|
|
362
|
+
async move { cache.get("shared").await.unwrap() },
|
|
363
|
+
));
|
|
362
364
|
}
|
|
363
365
|
|
|
364
366
|
for handle in handles {
|
|
@@ -20,9 +20,9 @@ futures-util.workspace = true
|
|
|
20
20
|
tracing = "0.1"
|
|
21
21
|
|
|
22
22
|
simple-agent-type = { workspace = true }
|
|
23
|
-
simple-agents-router = { path = "../simple-agents-router", version = "0.2.
|
|
24
|
-
simple-agents-cache = { path = "../simple-agents-cache", version = "0.2.
|
|
25
|
-
simple-agents-healing = { path = "../simple-agents-healing", version = "0.2.
|
|
23
|
+
simple-agents-router = { path = "../simple-agents-router", version = "0.2.2" }
|
|
24
|
+
simple-agents-cache = { path = "../simple-agents-cache", version = "0.2.2" }
|
|
25
|
+
simple-agents-healing = { path = "../simple-agents-healing", version = "0.2.2" }
|
|
26
26
|
futures-core = "0.3"
|
|
27
27
|
|
|
28
28
|
[dev-dependencies]
|
|
@@ -592,7 +592,11 @@ mod tests {
|
|
|
592
592
|
Ok(())
|
|
593
593
|
}
|
|
594
594
|
|
|
595
|
-
async fn after_stream(
|
|
595
|
+
async fn after_stream(
|
|
596
|
+
&self,
|
|
597
|
+
_request: &CompletionRequest,
|
|
598
|
+
_latency: Duration,
|
|
599
|
+
) -> Result<()> {
|
|
596
600
|
self.after_stream.fetch_add(1, Ordering::Relaxed);
|
|
597
601
|
Ok(())
|
|
598
602
|
}
|
|
@@ -679,7 +683,8 @@ mod tests {
|
|
|
679
683
|
async fn execute_stream(
|
|
680
684
|
&self,
|
|
681
685
|
_req: ProviderRequest,
|
|
682
|
-
) -> Result<Box<dyn futures_core::Stream<Item = Result<CompletionChunk>> + Send + Unpin>>
|
|
686
|
+
) -> Result<Box<dyn futures_core::Stream<Item = Result<CompletionChunk>> + Send + Unpin>>
|
|
687
|
+
{
|
|
683
688
|
let stream = if self.fail_after_first {
|
|
684
689
|
let items: Vec<Result<CompletionChunk>> = vec![
|
|
685
690
|
Ok(Self::build_chunk("chunk-1", "hello")),
|
{simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-core/src/middleware.rs
RENAMED
|
@@ -25,11 +25,7 @@ pub trait Middleware: Send + Sync {
|
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
/// Called when a streaming request completes successfully.
|
|
28
|
-
async fn after_stream(
|
|
29
|
-
&self,
|
|
30
|
-
_request: &CompletionRequest,
|
|
31
|
-
_latency: Duration,
|
|
32
|
-
) -> Result<()> {
|
|
28
|
+
async fn after_stream(&self, _request: &CompletionRequest, _latency: Duration) -> Result<()> {
|
|
33
29
|
Ok(())
|
|
34
30
|
}
|
|
35
31
|
|
|
@@ -32,7 +32,7 @@ regex-support = ["regex"]
|
|
|
32
32
|
tokio = { version = "1.41", features = ["full"] }
|
|
33
33
|
proptest = "1.5"
|
|
34
34
|
criterion = { version = "0.5", features = ["html_reports"] }
|
|
35
|
-
simple-agents-macros = { path = "../simple-agents-macros", version = "0.2.
|
|
35
|
+
simple-agents-macros = { path = "../simple-agents-macros", version = "0.2.2" }
|
|
36
36
|
|
|
37
37
|
[[test]]
|
|
38
38
|
name = "parser_tests"
|
|
@@ -10,7 +10,7 @@ readme = "README.md"
|
|
|
10
10
|
|
|
11
11
|
[dependencies]
|
|
12
12
|
simple-agent-type = { workspace = true }
|
|
13
|
-
simple-agents-healing = { path = "../simple-agents-healing", version = "0.2.
|
|
13
|
+
simple-agents-healing = { path = "../simple-agents-healing", version = "0.2.2" }
|
|
14
14
|
reqwest = { version = "0.12", features = ["json", "stream", "default-tls", "http2", "gzip", "brotli", "deflate"], default-features = false }
|
|
15
15
|
tokio = { version = "1.42", features = ["full"] }
|
|
16
16
|
futures = "0.3"
|
|
@@ -34,6 +34,6 @@ prometheus = ["dep:metrics-exporter-prometheus"]
|
|
|
34
34
|
[dev-dependencies]
|
|
35
35
|
tokio-test = "0.4"
|
|
36
36
|
tracing-subscriber = "0.3"
|
|
37
|
-
simple-agents-cache = { path = "../simple-agents-cache", version = "0.2.
|
|
38
|
-
simple-agents-macros = { path = "../simple-agents-macros", version = "0.2.
|
|
37
|
+
simple-agents-cache = { path = "../simple-agents-cache", version = "0.2.2" }
|
|
38
|
+
simple-agents-macros = { path = "../simple-agents-macros", version = "0.2.2" }
|
|
39
39
|
dotenv = "0.15"
|
|
@@ -18,9 +18,9 @@ serde_json = { workspace = true }
|
|
|
18
18
|
futures-util = "0.3"
|
|
19
19
|
async-trait = "0.1"
|
|
20
20
|
|
|
21
|
-
simple-agents-core = { path = "../simple-agents-core", version = "0.2.
|
|
22
|
-
simple-agents-providers = { path = "../simple-agents-providers", version = "0.2.
|
|
23
|
-
simple-agents-cache = { path = "../simple-agents-cache", version = "0.2.
|
|
24
|
-
simple-agents-router = { path = "../simple-agents-router", version = "0.2.
|
|
21
|
+
simple-agents-core = { path = "../simple-agents-core", version = "0.2.2" }
|
|
22
|
+
simple-agents-providers = { path = "../simple-agents-providers", version = "0.2.2" }
|
|
23
|
+
simple-agents-cache = { path = "../simple-agents-cache", version = "0.2.2" }
|
|
24
|
+
simple-agents-router = { path = "../simple-agents-router", version = "0.2.2" }
|
|
25
25
|
simple-agent-type = { workspace = true }
|
|
26
|
-
simple-agents-healing = { path = "../simple-agents-healing", version = "0.2.
|
|
26
|
+
simple-agents-healing = { path = "../simple-agents-healing", version = "0.2.2" }
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agent-type/examples/basic_usage.rs
RENAMED
|
File without changes
|
{simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agent-type/examples/mock_provider.rs
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agent-type/src/validation.rs
RENAMED
|
File without changes
|
{simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agent-type/tests/integration_test.rs
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-core/examples/basic_client.rs
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-healing/src/coercion.rs
RENAMED
|
File without changes
|
|
File without changes
|
{simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-healing/src/parser.rs
RENAMED
|
File without changes
|
{simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-healing/src/schema.rs
RENAMED
|
File without changes
|
{simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-healing/src/streaming.rs
RENAMED
|
File without changes
|
{simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-healing/src/string_utils.rs
RENAMED
|
File without changes
|
{simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-healing/tests/parser_tests.rs
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-macros/src/partial.rs
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-providers/src/common/error.rs
RENAMED
|
File without changes
|
|
File without changes
|
{simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-providers/src/common/mod.rs
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-providers/src/metrics.rs
RENAMED
|
File without changes
|
{simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-providers/src/openai/error.rs
RENAMED
|
File without changes
|
{simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-providers/src/openai/mod.rs
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-providers/src/rate_limit.rs
RENAMED
|
File without changes
|
{simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-providers/src/retry.rs
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-providers/src/utils.rs
RENAMED
|
File without changes
|
{simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-providers/tests/README.md
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-py/examples/healing_demo.py
RENAMED
|
File without changes
|
|
File without changes
|
{simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-py/examples/streaming_demo.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-py/simple_agents_py.pyi
RENAMED
|
File without changes
|
|
File without changes
|
{simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-py/tests/test_client.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-py/tests/test_healing.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-py/tests/test_streaming.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-router/src/circuit_breaker.rs
RENAMED
|
File without changes
|
|
File without changes
|
{simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-router/src/fallback.rs
RENAMED
|
File without changes
|
|
File without changes
|
{simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-router/src/latency.rs
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{simple_agents_py-0.2.1 → simple_agents_py-0.2.2}/crates/simple-agents-router/src/round_robin.rs
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|