From 1cf98cbc1a1c41ce99bfa5f33fe41b3ba4228992 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 7 Nov 2025 01:22:47 +0000 Subject: [PATCH 01/62] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 6a974b37..b5e58ac5 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 36 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-17022011bf153e3ac9e20d23c5dca8a3072b0e735b47bb391b6e35b00348d5a5.yml -openapi_spec_hash: 0927cdce49a6e6915d6060c2ab43b0d0 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-b5b567ef5b14f4b23f01e69b75d282ba3cf0ce6e8f5d57c859e844fbbf99eed6.yml +openapi_spec_hash: 2ddd1cbab48974dbf6357c2c10ee4701 config_hash: 758ca2ffe20517da913adf250c924c8a From ac6a8b55a0ef3847ff3c912abf8c004b2c6c5a1d Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 7 Nov 2025 08:22:45 +0000 Subject: [PATCH 02/62] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index b5e58ac5..6a974b37 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 36 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-b5b567ef5b14f4b23f01e69b75d282ba3cf0ce6e8f5d57c859e844fbbf99eed6.yml -openapi_spec_hash: 2ddd1cbab48974dbf6357c2c10ee4701 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-17022011bf153e3ac9e20d23c5dca8a3072b0e735b47bb391b6e35b00348d5a5.yml +openapi_spec_hash: 0927cdce49a6e6915d6060c2ab43b0d0 config_hash: 758ca2ffe20517da913adf250c924c8a From 0bfb07e3a4f21bbb47bfa5825d0e41ffc6c86155 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 7 Nov 2025 09:22:43 +0000 Subject: [PATCH 03/62] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 6a974b37..b5e58ac5 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 36 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-17022011bf153e3ac9e20d23c5dca8a3072b0e735b47bb391b6e35b00348d5a5.yml -openapi_spec_hash: 0927cdce49a6e6915d6060c2ab43b0d0 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-b5b567ef5b14f4b23f01e69b75d282ba3cf0ce6e8f5d57c859e844fbbf99eed6.yml +openapi_spec_hash: 2ddd1cbab48974dbf6357c2c10ee4701 config_hash: 758ca2ffe20517da913adf250c924c8a From 632b25e96e484bdbb227dc80e03d5db172d6402b Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 7 Nov 2025 13:22:44 +0000 Subject: [PATCH 04/62] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index b5e58ac5..6a974b37 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 36 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-b5b567ef5b14f4b23f01e69b75d282ba3cf0ce6e8f5d57c859e844fbbf99eed6.yml -openapi_spec_hash: 2ddd1cbab48974dbf6357c2c10ee4701 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-17022011bf153e3ac9e20d23c5dca8a3072b0e735b47bb391b6e35b00348d5a5.yml +openapi_spec_hash: 0927cdce49a6e6915d6060c2ab43b0d0 config_hash: 758ca2ffe20517da913adf250c924c8a From dccce5d95f5fe5b16aa47d1c425fe1cf1082857d Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 7 Nov 2025 15:22:44 +0000 Subject: [PATCH 05/62] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 6a974b37..b5e58ac5 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 36 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-17022011bf153e3ac9e20d23c5dca8a3072b0e735b47bb391b6e35b00348d5a5.yml -openapi_spec_hash: 0927cdce49a6e6915d6060c2ab43b0d0 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-b5b567ef5b14f4b23f01e69b75d282ba3cf0ce6e8f5d57c859e844fbbf99eed6.yml +openapi_spec_hash: 2ddd1cbab48974dbf6357c2c10ee4701 config_hash: 758ca2ffe20517da913adf250c924c8a From 5ec0383d9d6a85b342263ba49b8e3893924c59fc Mon Sep 17 00:00:00 2001 From: meorphis Date: Fri, 7 Nov 2025 10:31:19 -0500 Subject: [PATCH 06/62] chore(internal): restore stats --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index b5e58ac5..cf398e1e 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ -configured_endpoints: 36 +configured_endpoints: 34 openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-b5b567ef5b14f4b23f01e69b75d282ba3cf0ce6e8f5d57c859e844fbbf99eed6.yml openapi_spec_hash: 2ddd1cbab48974dbf6357c2c10ee4701 -config_hash: 758ca2ffe20517da913adf250c924c8a +config_hash: 0197f86ba1a4b1b5ce813d0e62138588 From d230615886bec02175386d3407a77abb570b36f4 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 7 Nov 2025 16:22:45 +0000 Subject: [PATCH 07/62] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index cf398e1e..da7496f1 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 34 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-b5b567ef5b14f4b23f01e69b75d282ba3cf0ce6e8f5d57c859e844fbbf99eed6.yml -openapi_spec_hash: 2ddd1cbab48974dbf6357c2c10ee4701 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-17022011bf153e3ac9e20d23c5dca8a3072b0e735b47bb391b6e35b00348d5a5.yml +openapi_spec_hash: 0927cdce49a6e6915d6060c2ab43b0d0 config_hash: 0197f86ba1a4b1b5ce813d0e62138588 From 7f149ed657d87a6eeedffe618c604ce6d7eea1cd Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 7 Nov 2025 18:23:27 +0000 Subject: [PATCH 08/62] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index da7496f1..cf398e1e 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 34 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-17022011bf153e3ac9e20d23c5dca8a3072b0e735b47bb391b6e35b00348d5a5.yml -openapi_spec_hash: 0927cdce49a6e6915d6060c2ab43b0d0 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-b5b567ef5b14f4b23f01e69b75d282ba3cf0ce6e8f5d57c859e844fbbf99eed6.yml +openapi_spec_hash: 2ddd1cbab48974dbf6357c2c10ee4701 config_hash: 0197f86ba1a4b1b5ce813d0e62138588 From 6c6c3b87151e677bd2b4fb90eb606397462f4f3a Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 7 Nov 2025 21:22:46 +0000 Subject: [PATCH 09/62] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index cf398e1e..da7496f1 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 34 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-b5b567ef5b14f4b23f01e69b75d282ba3cf0ce6e8f5d57c859e844fbbf99eed6.yml -openapi_spec_hash: 2ddd1cbab48974dbf6357c2c10ee4701 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-17022011bf153e3ac9e20d23c5dca8a3072b0e735b47bb391b6e35b00348d5a5.yml +openapi_spec_hash: 0927cdce49a6e6915d6060c2ab43b0d0 config_hash: 0197f86ba1a4b1b5ce813d0e62138588 From bb6559976cb7003e67b8f2312528ae3f07021d43 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 7 Nov 2025 22:22:37 +0000 Subject: [PATCH 10/62] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index da7496f1..cf398e1e 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 34 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-17022011bf153e3ac9e20d23c5dca8a3072b0e735b47bb391b6e35b00348d5a5.yml -openapi_spec_hash: 0927cdce49a6e6915d6060c2ab43b0d0 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-b5b567ef5b14f4b23f01e69b75d282ba3cf0ce6e8f5d57c859e844fbbf99eed6.yml +openapi_spec_hash: 2ddd1cbab48974dbf6357c2c10ee4701 config_hash: 0197f86ba1a4b1b5ce813d0e62138588 From c8eaeb0bcebe567faa9c8ef494e31f31ff7a7b8e Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sat, 8 Nov 2025 00:22:40 +0000 Subject: [PATCH 11/62] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index cf398e1e..da7496f1 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 34 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-b5b567ef5b14f4b23f01e69b75d282ba3cf0ce6e8f5d57c859e844fbbf99eed6.yml -openapi_spec_hash: 2ddd1cbab48974dbf6357c2c10ee4701 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-17022011bf153e3ac9e20d23c5dca8a3072b0e735b47bb391b6e35b00348d5a5.yml +openapi_spec_hash: 0927cdce49a6e6915d6060c2ab43b0d0 config_hash: 0197f86ba1a4b1b5ce813d0e62138588 From 035be748601009460570377cba75f0d69e6d7d70 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sat, 8 Nov 2025 02:22:38 +0000 Subject: [PATCH 12/62] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index da7496f1..cf398e1e 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 34 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-17022011bf153e3ac9e20d23c5dca8a3072b0e735b47bb391b6e35b00348d5a5.yml -openapi_spec_hash: 0927cdce49a6e6915d6060c2ab43b0d0 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-b5b567ef5b14f4b23f01e69b75d282ba3cf0ce6e8f5d57c859e844fbbf99eed6.yml +openapi_spec_hash: 2ddd1cbab48974dbf6357c2c10ee4701 config_hash: 0197f86ba1a4b1b5ce813d0e62138588 From d48c5966f35bde5ac58553acf3c3a334a23fc068 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sat, 8 Nov 2025 06:22:38 +0000 Subject: [PATCH 13/62] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index cf398e1e..da7496f1 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 34 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-b5b567ef5b14f4b23f01e69b75d282ba3cf0ce6e8f5d57c859e844fbbf99eed6.yml -openapi_spec_hash: 2ddd1cbab48974dbf6357c2c10ee4701 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-17022011bf153e3ac9e20d23c5dca8a3072b0e735b47bb391b6e35b00348d5a5.yml +openapi_spec_hash: 0927cdce49a6e6915d6060c2ab43b0d0 config_hash: 0197f86ba1a4b1b5ce813d0e62138588 From 33509e0542013f8a7da73c78d4f63512ce2763b4 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sat, 8 Nov 2025 09:22:39 +0000 Subject: [PATCH 14/62] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index da7496f1..cf398e1e 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 34 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-17022011bf153e3ac9e20d23c5dca8a3072b0e735b47bb391b6e35b00348d5a5.yml -openapi_spec_hash: 0927cdce49a6e6915d6060c2ab43b0d0 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-b5b567ef5b14f4b23f01e69b75d282ba3cf0ce6e8f5d57c859e844fbbf99eed6.yml +openapi_spec_hash: 2ddd1cbab48974dbf6357c2c10ee4701 config_hash: 0197f86ba1a4b1b5ce813d0e62138588 From 2ea95a1d4b9fc40af55b0e2b5dc672f06f957cee Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sat, 8 Nov 2025 10:22:36 +0000 Subject: [PATCH 15/62] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index cf398e1e..da7496f1 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 34 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-b5b567ef5b14f4b23f01e69b75d282ba3cf0ce6e8f5d57c859e844fbbf99eed6.yml -openapi_spec_hash: 2ddd1cbab48974dbf6357c2c10ee4701 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-17022011bf153e3ac9e20d23c5dca8a3072b0e735b47bb391b6e35b00348d5a5.yml +openapi_spec_hash: 0927cdce49a6e6915d6060c2ab43b0d0 config_hash: 0197f86ba1a4b1b5ce813d0e62138588 From 594822ff65bd0ea2df35f1c8d700679ac1d547cf Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sat, 8 Nov 2025 12:22:39 +0000 Subject: [PATCH 16/62] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index da7496f1..cf398e1e 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 34 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-17022011bf153e3ac9e20d23c5dca8a3072b0e735b47bb391b6e35b00348d5a5.yml -openapi_spec_hash: 0927cdce49a6e6915d6060c2ab43b0d0 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-b5b567ef5b14f4b23f01e69b75d282ba3cf0ce6e8f5d57c859e844fbbf99eed6.yml +openapi_spec_hash: 2ddd1cbab48974dbf6357c2c10ee4701 config_hash: 0197f86ba1a4b1b5ce813d0e62138588 From f44f5fbeecffeaf50b95ee811cc16e1de9cb72a5 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sat, 8 Nov 2025 20:22:40 +0000 Subject: [PATCH 17/62] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index cf398e1e..da7496f1 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 34 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-b5b567ef5b14f4b23f01e69b75d282ba3cf0ce6e8f5d57c859e844fbbf99eed6.yml -openapi_spec_hash: 2ddd1cbab48974dbf6357c2c10ee4701 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-17022011bf153e3ac9e20d23c5dca8a3072b0e735b47bb391b6e35b00348d5a5.yml +openapi_spec_hash: 0927cdce49a6e6915d6060c2ab43b0d0 config_hash: 0197f86ba1a4b1b5ce813d0e62138588 From e34d0465f1599c0721d7534ca0403c29a50c0bd6 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sat, 8 Nov 2025 21:22:38 +0000 Subject: [PATCH 18/62] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index da7496f1..cf398e1e 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 34 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-17022011bf153e3ac9e20d23c5dca8a3072b0e735b47bb391b6e35b00348d5a5.yml -openapi_spec_hash: 0927cdce49a6e6915d6060c2ab43b0d0 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-b5b567ef5b14f4b23f01e69b75d282ba3cf0ce6e8f5d57c859e844fbbf99eed6.yml +openapi_spec_hash: 2ddd1cbab48974dbf6357c2c10ee4701 config_hash: 0197f86ba1a4b1b5ce813d0e62138588 From 533798a7ffc697287632d684c2665ccd25fb4a51 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sat, 8 Nov 2025 22:22:38 +0000 Subject: [PATCH 19/62] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index cf398e1e..da7496f1 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 34 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-b5b567ef5b14f4b23f01e69b75d282ba3cf0ce6e8f5d57c859e844fbbf99eed6.yml -openapi_spec_hash: 2ddd1cbab48974dbf6357c2c10ee4701 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-17022011bf153e3ac9e20d23c5dca8a3072b0e735b47bb391b6e35b00348d5a5.yml +openapi_spec_hash: 0927cdce49a6e6915d6060c2ab43b0d0 config_hash: 0197f86ba1a4b1b5ce813d0e62138588 From 65082ea0e0cca0637d60c19c446524291a33b31f Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sun, 9 Nov 2025 00:22:37 +0000 Subject: [PATCH 20/62] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index da7496f1..cf398e1e 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 34 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-17022011bf153e3ac9e20d23c5dca8a3072b0e735b47bb391b6e35b00348d5a5.yml -openapi_spec_hash: 0927cdce49a6e6915d6060c2ab43b0d0 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-b5b567ef5b14f4b23f01e69b75d282ba3cf0ce6e8f5d57c859e844fbbf99eed6.yml +openapi_spec_hash: 2ddd1cbab48974dbf6357c2c10ee4701 config_hash: 0197f86ba1a4b1b5ce813d0e62138588 From d320888d0295d8f75e2db894f122822987cfcea2 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sun, 9 Nov 2025 01:22:39 +0000 Subject: [PATCH 21/62] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index cf398e1e..da7496f1 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 34 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-b5b567ef5b14f4b23f01e69b75d282ba3cf0ce6e8f5d57c859e844fbbf99eed6.yml -openapi_spec_hash: 2ddd1cbab48974dbf6357c2c10ee4701 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-17022011bf153e3ac9e20d23c5dca8a3072b0e735b47bb391b6e35b00348d5a5.yml +openapi_spec_hash: 0927cdce49a6e6915d6060c2ab43b0d0 config_hash: 0197f86ba1a4b1b5ce813d0e62138588 From 40a7c9d63a52930d0cda0d0f519a5a1519c30b33 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sun, 9 Nov 2025 03:22:52 +0000 Subject: [PATCH 22/62] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index da7496f1..cf398e1e 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 34 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-17022011bf153e3ac9e20d23c5dca8a3072b0e735b47bb391b6e35b00348d5a5.yml -openapi_spec_hash: 0927cdce49a6e6915d6060c2ab43b0d0 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-b5b567ef5b14f4b23f01e69b75d282ba3cf0ce6e8f5d57c859e844fbbf99eed6.yml +openapi_spec_hash: 2ddd1cbab48974dbf6357c2c10ee4701 config_hash: 0197f86ba1a4b1b5ce813d0e62138588 From 4981668788d56ccc59fc0d86902790762a5b8612 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sun, 9 Nov 2025 06:22:40 +0000 Subject: [PATCH 23/62] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index cf398e1e..da7496f1 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 34 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-b5b567ef5b14f4b23f01e69b75d282ba3cf0ce6e8f5d57c859e844fbbf99eed6.yml -openapi_spec_hash: 2ddd1cbab48974dbf6357c2c10ee4701 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-17022011bf153e3ac9e20d23c5dca8a3072b0e735b47bb391b6e35b00348d5a5.yml +openapi_spec_hash: 0927cdce49a6e6915d6060c2ab43b0d0 config_hash: 0197f86ba1a4b1b5ce813d0e62138588 From 876ec14cd086c81738a701fb925316218a656660 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sun, 9 Nov 2025 07:22:37 +0000 Subject: [PATCH 24/62] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index da7496f1..cf398e1e 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 34 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-17022011bf153e3ac9e20d23c5dca8a3072b0e735b47bb391b6e35b00348d5a5.yml -openapi_spec_hash: 0927cdce49a6e6915d6060c2ab43b0d0 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-b5b567ef5b14f4b23f01e69b75d282ba3cf0ce6e8f5d57c859e844fbbf99eed6.yml +openapi_spec_hash: 2ddd1cbab48974dbf6357c2c10ee4701 config_hash: 0197f86ba1a4b1b5ce813d0e62138588 From 055269b0f74f5079b7fb8f4138fc6079742cf925 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sun, 9 Nov 2025 08:22:36 +0000 Subject: [PATCH 25/62] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index cf398e1e..da7496f1 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 34 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-b5b567ef5b14f4b23f01e69b75d282ba3cf0ce6e8f5d57c859e844fbbf99eed6.yml -openapi_spec_hash: 2ddd1cbab48974dbf6357c2c10ee4701 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-17022011bf153e3ac9e20d23c5dca8a3072b0e735b47bb391b6e35b00348d5a5.yml +openapi_spec_hash: 0927cdce49a6e6915d6060c2ab43b0d0 config_hash: 0197f86ba1a4b1b5ce813d0e62138588 From 4db4583f98723d3ffeffde0392c1d267f240c194 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sun, 9 Nov 2025 14:22:40 +0000 Subject: [PATCH 26/62] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index da7496f1..cf398e1e 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 34 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-17022011bf153e3ac9e20d23c5dca8a3072b0e735b47bb391b6e35b00348d5a5.yml -openapi_spec_hash: 0927cdce49a6e6915d6060c2ab43b0d0 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-b5b567ef5b14f4b23f01e69b75d282ba3cf0ce6e8f5d57c859e844fbbf99eed6.yml +openapi_spec_hash: 2ddd1cbab48974dbf6357c2c10ee4701 config_hash: 0197f86ba1a4b1b5ce813d0e62138588 From 8e551afe43d20f0e3988efa3f5b36490cf0d3428 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sun, 9 Nov 2025 22:22:38 +0000 Subject: [PATCH 27/62] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index cf398e1e..da7496f1 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 34 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-b5b567ef5b14f4b23f01e69b75d282ba3cf0ce6e8f5d57c859e844fbbf99eed6.yml -openapi_spec_hash: 2ddd1cbab48974dbf6357c2c10ee4701 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-17022011bf153e3ac9e20d23c5dca8a3072b0e735b47bb391b6e35b00348d5a5.yml +openapi_spec_hash: 0927cdce49a6e6915d6060c2ab43b0d0 config_hash: 0197f86ba1a4b1b5ce813d0e62138588 From cb4e8a93a8f4bc3684f880ea2d03c23025b3ba83 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 10 Nov 2025 05:22:40 +0000 Subject: [PATCH 28/62] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index da7496f1..cf398e1e 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 34 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-17022011bf153e3ac9e20d23c5dca8a3072b0e735b47bb391b6e35b00348d5a5.yml -openapi_spec_hash: 0927cdce49a6e6915d6060c2ab43b0d0 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-b5b567ef5b14f4b23f01e69b75d282ba3cf0ce6e8f5d57c859e844fbbf99eed6.yml +openapi_spec_hash: 2ddd1cbab48974dbf6357c2c10ee4701 config_hash: 0197f86ba1a4b1b5ce813d0e62138588 From e61c5fbbdcb6af1689ef222a3dcde14f0ef8adf3 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 10 Nov 2025 07:22:38 +0000 Subject: [PATCH 29/62] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index cf398e1e..da7496f1 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 34 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-b5b567ef5b14f4b23f01e69b75d282ba3cf0ce6e8f5d57c859e844fbbf99eed6.yml -openapi_spec_hash: 2ddd1cbab48974dbf6357c2c10ee4701 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-17022011bf153e3ac9e20d23c5dca8a3072b0e735b47bb391b6e35b00348d5a5.yml +openapi_spec_hash: 0927cdce49a6e6915d6060c2ab43b0d0 config_hash: 0197f86ba1a4b1b5ce813d0e62138588 From 941854c4973d74cd1f5d250045e53ad542d8c7f3 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 10 Nov 2025 08:22:39 +0000 Subject: [PATCH 30/62] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index da7496f1..cf398e1e 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 34 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-17022011bf153e3ac9e20d23c5dca8a3072b0e735b47bb391b6e35b00348d5a5.yml -openapi_spec_hash: 0927cdce49a6e6915d6060c2ab43b0d0 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-b5b567ef5b14f4b23f01e69b75d282ba3cf0ce6e8f5d57c859e844fbbf99eed6.yml +openapi_spec_hash: 2ddd1cbab48974dbf6357c2c10ee4701 config_hash: 0197f86ba1a4b1b5ce813d0e62138588 From f3435c3c33c4f1d2aa81f57c67adcb207b0c9218 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 10 Nov 2025 10:22:39 +0000 Subject: [PATCH 31/62] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index cf398e1e..da7496f1 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 34 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-b5b567ef5b14f4b23f01e69b75d282ba3cf0ce6e8f5d57c859e844fbbf99eed6.yml -openapi_spec_hash: 2ddd1cbab48974dbf6357c2c10ee4701 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-17022011bf153e3ac9e20d23c5dca8a3072b0e735b47bb391b6e35b00348d5a5.yml +openapi_spec_hash: 0927cdce49a6e6915d6060c2ab43b0d0 config_hash: 0197f86ba1a4b1b5ce813d0e62138588 From 3d4dc37f87b8d8f1debbe6505746342e461772ba Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 10 Nov 2025 11:28:31 +0000 Subject: [PATCH 32/62] chore(package): drop Python 3.8 support --- README.md | 4 ++-- pyproject.toml | 2 +- src/agentex/_utils/_sync.py | 34 +++------------------------------- 3 files changed, 6 insertions(+), 34 deletions(-) diff --git a/README.md b/README.md index 8d2c7f36..99ba8d54 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ [![PyPI version](https://img.shields.io/pypi/v/agentex-sdk.svg?label=pypi%20(stable))](https://pypi.org/project/agentex-sdk/) -The Agentex Python library provides convenient access to the Agentex REST API from any Python 3.8+ +The Agentex Python library provides convenient access to the Agentex REST API from any Python 3.9+ application. The library includes type definitions for all request params and response fields, and offers both synchronous and asynchronous clients powered by [httpx](https://github.com/encode/httpx). @@ -389,7 +389,7 @@ print(agentex.__version__) ## Requirements -Python 3.8 or higher. +Python 3.9 or higher. ## Contributing diff --git a/pyproject.toml b/pyproject.toml index 12aea11e..d7005868 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -49,7 +49,7 @@ dependencies = [ requires-python = ">= 3.12,<4" classifiers = [ "Typing :: Typed", - "Intended Audience :: Developers", + "Intended Audience :: Developers",, "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", "Programming Language :: Python :: 3.14", diff --git a/src/agentex/_utils/_sync.py b/src/agentex/_utils/_sync.py index ad7ec71b..f6027c18 100644 --- a/src/agentex/_utils/_sync.py +++ b/src/agentex/_utils/_sync.py @@ -1,10 +1,8 @@ from __future__ import annotations -import sys import asyncio import functools -import contextvars -from typing import Any, TypeVar, Callable, Awaitable +from typing import TypeVar, Callable, Awaitable from typing_extensions import ParamSpec import anyio @@ -15,34 +13,11 @@ T_ParamSpec = ParamSpec("T_ParamSpec") -if sys.version_info >= (3, 9): - _asyncio_to_thread = asyncio.to_thread -else: - # backport of https://docs.python.org/3/library/asyncio-task.html#asyncio.to_thread - # for Python 3.8 support - async def _asyncio_to_thread( - func: Callable[T_ParamSpec, T_Retval], /, *args: T_ParamSpec.args, **kwargs: T_ParamSpec.kwargs - ) -> Any: - """Asynchronously run function *func* in a separate thread. - - Any *args and **kwargs supplied for this function are directly passed - to *func*. Also, the current :class:`contextvars.Context` is propagated, - allowing context variables from the main thread to be accessed in the - separate thread. - - Returns a coroutine that can be awaited to get the eventual result of *func*. - """ - loop = asyncio.events.get_running_loop() - ctx = contextvars.copy_context() - func_call = functools.partial(ctx.run, func, *args, **kwargs) - return await loop.run_in_executor(None, func_call) - - async def to_thread( func: Callable[T_ParamSpec, T_Retval], /, *args: T_ParamSpec.args, **kwargs: T_ParamSpec.kwargs ) -> T_Retval: if sniffio.current_async_library() == "asyncio": - return await _asyncio_to_thread(func, *args, **kwargs) + return await asyncio.to_thread(func, *args, **kwargs) return await anyio.to_thread.run_sync( functools.partial(func, *args, **kwargs), @@ -53,10 +28,7 @@ async def to_thread( def asyncify(function: Callable[T_ParamSpec, T_Retval]) -> Callable[T_ParamSpec, Awaitable[T_Retval]]: """ Take a blocking function and create an async one that receives the same - positional and keyword arguments. For python version 3.9 and above, it uses - asyncio.to_thread to run the function in a separate thread. For python version - 3.8, it uses locally defined copy of the asyncio.to_thread function which was - introduced in python 3.9. + positional and keyword arguments. Usage: From b848924e5021816a7fd0cb65ee7a1cb97cf27313 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 10 Nov 2025 12:22:38 +0000 Subject: [PATCH 33/62] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index da7496f1..cf398e1e 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 34 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-17022011bf153e3ac9e20d23c5dca8a3072b0e735b47bb391b6e35b00348d5a5.yml -openapi_spec_hash: 0927cdce49a6e6915d6060c2ab43b0d0 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-b5b567ef5b14f4b23f01e69b75d282ba3cf0ce6e8f5d57c859e844fbbf99eed6.yml +openapi_spec_hash: 2ddd1cbab48974dbf6357c2c10ee4701 config_hash: 0197f86ba1a4b1b5ce813d0e62138588 From 9a62f23376ef797bafe67f61552eb7635286caa3 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 10 Nov 2025 13:35:58 +0000 Subject: [PATCH 34/62] fix: compat with Python 3.14 --- src/agentex/_models.py | 11 ++++++++--- tests/test_models.py | 8 ++++---- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/src/agentex/_models.py b/src/agentex/_models.py index 6a3cd1d2..fcec2cf9 100644 --- a/src/agentex/_models.py +++ b/src/agentex/_models.py @@ -2,6 +2,7 @@ import os import inspect +import weakref from typing import TYPE_CHECKING, Any, Type, Union, Generic, TypeVar, Callable, Optional, cast from datetime import date, datetime from typing_extensions import ( @@ -573,6 +574,9 @@ class CachedDiscriminatorType(Protocol): __discriminator__: DiscriminatorDetails +DISCRIMINATOR_CACHE: weakref.WeakKeyDictionary[type, DiscriminatorDetails] = weakref.WeakKeyDictionary() + + class DiscriminatorDetails: field_name: str """The name of the discriminator field in the variant class, e.g. @@ -615,8 +619,9 @@ def __init__( def _build_discriminated_union_meta(*, union: type, meta_annotations: tuple[Any, ...]) -> DiscriminatorDetails | None: - if isinstance(union, CachedDiscriminatorType): - return union.__discriminator__ + cached = DISCRIMINATOR_CACHE.get(union) + if cached is not None: + return cached discriminator_field_name: str | None = None @@ -669,7 +674,7 @@ def _build_discriminated_union_meta(*, union: type, meta_annotations: tuple[Any, discriminator_field=discriminator_field_name, discriminator_alias=discriminator_alias, ) - cast(CachedDiscriminatorType, union).__discriminator__ = details + DISCRIMINATOR_CACHE.setdefault(union, details) return details diff --git a/tests/test_models.py b/tests/test_models.py index d2f03273..1aef5c60 100644 --- a/tests/test_models.py +++ b/tests/test_models.py @@ -9,7 +9,7 @@ from agentex._utils import PropertyInfo from agentex._compat import PYDANTIC_V1, parse_obj, model_dump, model_json -from agentex._models import BaseModel, construct_type +from agentex._models import DISCRIMINATOR_CACHE, BaseModel, construct_type class BasicModel(BaseModel): @@ -809,7 +809,7 @@ class B(BaseModel): UnionType = cast(Any, Union[A, B]) - assert not hasattr(UnionType, "__discriminator__") + assert not DISCRIMINATOR_CACHE.get(UnionType) m = construct_type( value={"type": "b", "data": "foo"}, type_=cast(Any, Annotated[UnionType, PropertyInfo(discriminator="type")]) @@ -818,7 +818,7 @@ class B(BaseModel): assert m.type == "b" assert m.data == "foo" # type: ignore[comparison-overlap] - discriminator = UnionType.__discriminator__ + discriminator = DISCRIMINATOR_CACHE.get(UnionType) assert discriminator is not None m = construct_type( @@ -830,7 +830,7 @@ class B(BaseModel): # if the discriminator details object stays the same between invocations then # we hit the cache - assert UnionType.__discriminator__ is discriminator + assert DISCRIMINATOR_CACHE.get(UnionType) is discriminator @pytest.mark.skipif(PYDANTIC_V1, reason="TypeAliasType is not supported in Pydantic v1") From e8ab5b800779006a20b425577255b73d2340e03d Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 10 Nov 2025 14:22:29 +0000 Subject: [PATCH 35/62] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index cf398e1e..da7496f1 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 34 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-b5b567ef5b14f4b23f01e69b75d282ba3cf0ce6e8f5d57c859e844fbbf99eed6.yml -openapi_spec_hash: 2ddd1cbab48974dbf6357c2c10ee4701 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-17022011bf153e3ac9e20d23c5dca8a3072b0e735b47bb391b6e35b00348d5a5.yml +openapi_spec_hash: 0927cdce49a6e6915d6060c2ab43b0d0 config_hash: 0197f86ba1a4b1b5ce813d0e62138588 From 9faf035c3c4ade171342355e1cff40d048e01350 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 10 Nov 2025 15:22:38 +0000 Subject: [PATCH 36/62] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index da7496f1..cf398e1e 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 34 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-17022011bf153e3ac9e20d23c5dca8a3072b0e735b47bb391b6e35b00348d5a5.yml -openapi_spec_hash: 0927cdce49a6e6915d6060c2ab43b0d0 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-b5b567ef5b14f4b23f01e69b75d282ba3cf0ce6e8f5d57c859e844fbbf99eed6.yml +openapi_spec_hash: 2ddd1cbab48974dbf6357c2c10ee4701 config_hash: 0197f86ba1a4b1b5ce813d0e62138588 From 0d1b6d5e13d672f4f5d1a498a4db0e0216f56f72 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 10 Nov 2025 19:22:26 +0000 Subject: [PATCH 37/62] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index cf398e1e..da7496f1 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 34 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-b5b567ef5b14f4b23f01e69b75d282ba3cf0ce6e8f5d57c859e844fbbf99eed6.yml -openapi_spec_hash: 2ddd1cbab48974dbf6357c2c10ee4701 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-17022011bf153e3ac9e20d23c5dca8a3072b0e735b47bb391b6e35b00348d5a5.yml +openapi_spec_hash: 0927cdce49a6e6915d6060c2ab43b0d0 config_hash: 0197f86ba1a4b1b5ce813d0e62138588 From d96f5ca8da0779d7f00c88912b6630ba18f98be1 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 10 Nov 2025 20:22:36 +0000 Subject: [PATCH 38/62] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index da7496f1..cf398e1e 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 34 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-17022011bf153e3ac9e20d23c5dca8a3072b0e735b47bb391b6e35b00348d5a5.yml -openapi_spec_hash: 0927cdce49a6e6915d6060c2ab43b0d0 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-b5b567ef5b14f4b23f01e69b75d282ba3cf0ce6e8f5d57c859e844fbbf99eed6.yml +openapi_spec_hash: 2ddd1cbab48974dbf6357c2c10ee4701 config_hash: 0197f86ba1a4b1b5ce813d0e62138588 From 62a251bd955659a037e8d40c2cb16b4c0c3929b6 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 10 Nov 2025 21:22:29 +0000 Subject: [PATCH 39/62] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index cf398e1e..da7496f1 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 34 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-b5b567ef5b14f4b23f01e69b75d282ba3cf0ce6e8f5d57c859e844fbbf99eed6.yml -openapi_spec_hash: 2ddd1cbab48974dbf6357c2c10ee4701 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-17022011bf153e3ac9e20d23c5dca8a3072b0e735b47bb391b6e35b00348d5a5.yml +openapi_spec_hash: 0927cdce49a6e6915d6060c2ab43b0d0 config_hash: 0197f86ba1a4b1b5ce813d0e62138588 From 191f2d5290671f3ec145f5155d1e46630b71b49b Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 10 Nov 2025 22:22:37 +0000 Subject: [PATCH 40/62] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index da7496f1..cf398e1e 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 34 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-17022011bf153e3ac9e20d23c5dca8a3072b0e735b47bb391b6e35b00348d5a5.yml -openapi_spec_hash: 0927cdce49a6e6915d6060c2ab43b0d0 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-b5b567ef5b14f4b23f01e69b75d282ba3cf0ce6e8f5d57c859e844fbbf99eed6.yml +openapi_spec_hash: 2ddd1cbab48974dbf6357c2c10ee4701 config_hash: 0197f86ba1a4b1b5ce813d0e62138588 From 243d5d3080f6d1f6e286780161d9e32e82c33592 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 10 Nov 2025 23:22:27 +0000 Subject: [PATCH 41/62] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index cf398e1e..da7496f1 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 34 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-b5b567ef5b14f4b23f01e69b75d282ba3cf0ce6e8f5d57c859e844fbbf99eed6.yml -openapi_spec_hash: 2ddd1cbab48974dbf6357c2c10ee4701 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-17022011bf153e3ac9e20d23c5dca8a3072b0e735b47bb391b6e35b00348d5a5.yml +openapi_spec_hash: 0927cdce49a6e6915d6060c2ab43b0d0 config_hash: 0197f86ba1a4b1b5ce813d0e62138588 From b00d69459a58d48dc917f1529c4ec33f2b1315a7 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 11 Nov 2025 04:22:32 +0000 Subject: [PATCH 42/62] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index da7496f1..cf398e1e 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 34 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-17022011bf153e3ac9e20d23c5dca8a3072b0e735b47bb391b6e35b00348d5a5.yml -openapi_spec_hash: 0927cdce49a6e6915d6060c2ab43b0d0 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-b5b567ef5b14f4b23f01e69b75d282ba3cf0ce6e8f5d57c859e844fbbf99eed6.yml +openapi_spec_hash: 2ddd1cbab48974dbf6357c2c10ee4701 config_hash: 0197f86ba1a4b1b5ce813d0e62138588 From 6cbe51f1a0f7c7d563462d645886872e529c1ab9 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 11 Nov 2025 06:22:52 +0000 Subject: [PATCH 43/62] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index cf398e1e..da7496f1 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 34 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-b5b567ef5b14f4b23f01e69b75d282ba3cf0ce6e8f5d57c859e844fbbf99eed6.yml -openapi_spec_hash: 2ddd1cbab48974dbf6357c2c10ee4701 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-17022011bf153e3ac9e20d23c5dca8a3072b0e735b47bb391b6e35b00348d5a5.yml +openapi_spec_hash: 0927cdce49a6e6915d6060c2ab43b0d0 config_hash: 0197f86ba1a4b1b5ce813d0e62138588 From 7b2a71afb8f811a6ee9c68dae3cd755974c528c3 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 11 Nov 2025 09:22:33 +0000 Subject: [PATCH 44/62] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index da7496f1..cf398e1e 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 34 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-17022011bf153e3ac9e20d23c5dca8a3072b0e735b47bb391b6e35b00348d5a5.yml -openapi_spec_hash: 0927cdce49a6e6915d6060c2ab43b0d0 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-b5b567ef5b14f4b23f01e69b75d282ba3cf0ce6e8f5d57c859e844fbbf99eed6.yml +openapi_spec_hash: 2ddd1cbab48974dbf6357c2c10ee4701 config_hash: 0197f86ba1a4b1b5ce813d0e62138588 From a3d0de95f31c27ab04c1ec5aebf5c359a34d5424 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 11 Nov 2025 10:22:27 +0000 Subject: [PATCH 45/62] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index cf398e1e..da7496f1 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 34 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-b5b567ef5b14f4b23f01e69b75d282ba3cf0ce6e8f5d57c859e844fbbf99eed6.yml -openapi_spec_hash: 2ddd1cbab48974dbf6357c2c10ee4701 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-17022011bf153e3ac9e20d23c5dca8a3072b0e735b47bb391b6e35b00348d5a5.yml +openapi_spec_hash: 0927cdce49a6e6915d6060c2ab43b0d0 config_hash: 0197f86ba1a4b1b5ce813d0e62138588 From ff2bb71ae69c7bcd8945f086d1e385a88fcf869e Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 11 Nov 2025 13:22:32 +0000 Subject: [PATCH 46/62] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index da7496f1..cf398e1e 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 34 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-17022011bf153e3ac9e20d23c5dca8a3072b0e735b47bb391b6e35b00348d5a5.yml -openapi_spec_hash: 0927cdce49a6e6915d6060c2ab43b0d0 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-b5b567ef5b14f4b23f01e69b75d282ba3cf0ce6e8f5d57c859e844fbbf99eed6.yml +openapi_spec_hash: 2ddd1cbab48974dbf6357c2c10ee4701 config_hash: 0197f86ba1a4b1b5ce813d0e62138588 From 1c14abd66a31e7d5b8f3b16b317a6938dcfd4ddc Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 11 Nov 2025 14:22:32 +0000 Subject: [PATCH 47/62] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index cf398e1e..da7496f1 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 34 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-b5b567ef5b14f4b23f01e69b75d282ba3cf0ce6e8f5d57c859e844fbbf99eed6.yml -openapi_spec_hash: 2ddd1cbab48974dbf6357c2c10ee4701 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-17022011bf153e3ac9e20d23c5dca8a3072b0e735b47bb391b6e35b00348d5a5.yml +openapi_spec_hash: 0927cdce49a6e6915d6060c2ab43b0d0 config_hash: 0197f86ba1a4b1b5ce813d0e62138588 From cf857f9191f10a971e9cba2a8c764229ed4a7dfe Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 11 Nov 2025 14:35:37 +0000 Subject: [PATCH 48/62] fix(compat): update signatures of `model_dump` and `model_dump_json` for Pydantic v1 --- src/agentex/_models.py | 41 +++++++++++++++++++++++++++++------------ 1 file changed, 29 insertions(+), 12 deletions(-) diff --git a/src/agentex/_models.py b/src/agentex/_models.py index fcec2cf9..ca9500b2 100644 --- a/src/agentex/_models.py +++ b/src/agentex/_models.py @@ -257,15 +257,16 @@ def model_dump( mode: Literal["json", "python"] | str = "python", include: IncEx | None = None, exclude: IncEx | None = None, + context: Any | None = None, by_alias: bool | None = None, exclude_unset: bool = False, exclude_defaults: bool = False, exclude_none: bool = False, + exclude_computed_fields: bool = False, round_trip: bool = False, warnings: bool | Literal["none", "warn", "error"] = True, - context: dict[str, Any] | None = None, - serialize_as_any: bool = False, fallback: Callable[[Any], Any] | None = None, + serialize_as_any: bool = False, ) -> dict[str, Any]: """Usage docs: https://docs.pydantic.dev/2.4/concepts/serialization/#modelmodel_dump @@ -273,16 +274,24 @@ def model_dump( Args: mode: The mode in which `to_python` should run. - If mode is 'json', the dictionary will only contain JSON serializable types. - If mode is 'python', the dictionary may contain any Python objects. - include: A list of fields to include in the output. - exclude: A list of fields to exclude from the output. + If mode is 'json', the output will only contain JSON serializable types. + If mode is 'python', the output may contain non-JSON-serializable Python objects. + include: A set of fields to include in the output. + exclude: A set of fields to exclude from the output. + context: Additional context to pass to the serializer. by_alias: Whether to use the field's alias in the dictionary key if defined. - exclude_unset: Whether to exclude fields that are unset or None from the output. - exclude_defaults: Whether to exclude fields that are set to their default value from the output. - exclude_none: Whether to exclude fields that have a value of `None` from the output. - round_trip: Whether to enable serialization and deserialization round-trip support. - warnings: Whether to log warnings when invalid fields are encountered. + exclude_unset: Whether to exclude fields that have not been explicitly set. + exclude_defaults: Whether to exclude fields that are set to their default value. + exclude_none: Whether to exclude fields that have a value of `None`. + exclude_computed_fields: Whether to exclude computed fields. + While this can be useful for round-tripping, it is usually recommended to use the dedicated + `round_trip` parameter instead. + round_trip: If True, dumped values should be valid as input for non-idempotent types such as Json[T]. + warnings: How to handle serialization errors. False/"none" ignores them, True/"warn" logs errors, + "error" raises a [`PydanticSerializationError`][pydantic_core.PydanticSerializationError]. + fallback: A function to call when an unknown value is encountered. If not provided, + a [`PydanticSerializationError`][pydantic_core.PydanticSerializationError] error is raised. + serialize_as_any: Whether to serialize fields with duck-typing serialization behavior. Returns: A dictionary representation of the model. @@ -299,6 +308,8 @@ def model_dump( raise ValueError("serialize_as_any is only supported in Pydantic v2") if fallback is not None: raise ValueError("fallback is only supported in Pydantic v2") + if exclude_computed_fields != False: + raise ValueError("exclude_computed_fields is only supported in Pydantic v2") dumped = super().dict( # pyright: ignore[reportDeprecated] include=include, exclude=exclude, @@ -315,15 +326,17 @@ def model_dump_json( self, *, indent: int | None = None, + ensure_ascii: bool = False, include: IncEx | None = None, exclude: IncEx | None = None, + context: Any | None = None, by_alias: bool | None = None, exclude_unset: bool = False, exclude_defaults: bool = False, exclude_none: bool = False, + exclude_computed_fields: bool = False, round_trip: bool = False, warnings: bool | Literal["none", "warn", "error"] = True, - context: dict[str, Any] | None = None, fallback: Callable[[Any], Any] | None = None, serialize_as_any: bool = False, ) -> str: @@ -355,6 +368,10 @@ def model_dump_json( raise ValueError("serialize_as_any is only supported in Pydantic v2") if fallback is not None: raise ValueError("fallback is only supported in Pydantic v2") + if ensure_ascii != False: + raise ValueError("ensure_ascii is only supported in Pydantic v2") + if exclude_computed_fields != False: + raise ValueError("exclude_computed_fields is only supported in Pydantic v2") return super().json( # type: ignore[reportDeprecated] indent=indent, include=include, From f5c187612b72eb19873a5bc7935082e2105f7a82 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 11 Nov 2025 15:22:33 +0000 Subject: [PATCH 49/62] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index da7496f1..cf398e1e 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 34 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-17022011bf153e3ac9e20d23c5dca8a3072b0e735b47bb391b6e35b00348d5a5.yml -openapi_spec_hash: 0927cdce49a6e6915d6060c2ab43b0d0 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-b5b567ef5b14f4b23f01e69b75d282ba3cf0ce6e8f5d57c859e844fbbf99eed6.yml +openapi_spec_hash: 2ddd1cbab48974dbf6357c2c10ee4701 config_hash: 0197f86ba1a4b1b5ce813d0e62138588 From 36a9921f88c937e5f04670885aee27e17f8dfbc6 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 11 Nov 2025 16:22:33 +0000 Subject: [PATCH 50/62] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index cf398e1e..da7496f1 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 34 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-b5b567ef5b14f4b23f01e69b75d282ba3cf0ce6e8f5d57c859e844fbbf99eed6.yml -openapi_spec_hash: 2ddd1cbab48974dbf6357c2c10ee4701 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-17022011bf153e3ac9e20d23c5dca8a3072b0e735b47bb391b6e35b00348d5a5.yml +openapi_spec_hash: 0927cdce49a6e6915d6060c2ab43b0d0 config_hash: 0197f86ba1a4b1b5ce813d0e62138588 From cb220c44adcb705ec4514fbd2cd86a546c42dce3 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 11 Nov 2025 18:22:29 +0000 Subject: [PATCH 51/62] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index da7496f1..cf398e1e 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 34 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-17022011bf153e3ac9e20d23c5dca8a3072b0e735b47bb391b6e35b00348d5a5.yml -openapi_spec_hash: 0927cdce49a6e6915d6060c2ab43b0d0 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-b5b567ef5b14f4b23f01e69b75d282ba3cf0ce6e8f5d57c859e844fbbf99eed6.yml +openapi_spec_hash: 2ddd1cbab48974dbf6357c2c10ee4701 config_hash: 0197f86ba1a4b1b5ce813d0e62138588 From df5042e7835d23947cdc824128bdb46a7f185361 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 11 Nov 2025 19:22:31 +0000 Subject: [PATCH 52/62] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index cf398e1e..da7496f1 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 34 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-b5b567ef5b14f4b23f01e69b75d282ba3cf0ce6e8f5d57c859e844fbbf99eed6.yml -openapi_spec_hash: 2ddd1cbab48974dbf6357c2c10ee4701 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-17022011bf153e3ac9e20d23c5dca8a3072b0e735b47bb391b6e35b00348d5a5.yml +openapi_spec_hash: 0927cdce49a6e6915d6060c2ab43b0d0 config_hash: 0197f86ba1a4b1b5ce813d0e62138588 From 4f7e910b7aab3456843c979c707cfae9204c34ef Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 11 Nov 2025 20:22:30 +0000 Subject: [PATCH 53/62] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index da7496f1..cf398e1e 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 34 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-17022011bf153e3ac9e20d23c5dca8a3072b0e735b47bb391b6e35b00348d5a5.yml -openapi_spec_hash: 0927cdce49a6e6915d6060c2ab43b0d0 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-b5b567ef5b14f4b23f01e69b75d282ba3cf0ce6e8f5d57c859e844fbbf99eed6.yml +openapi_spec_hash: 2ddd1cbab48974dbf6357c2c10ee4701 config_hash: 0197f86ba1a4b1b5ce813d0e62138588 From 6eedac4d8887bfb517dad1edefea165cea64229f Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 11 Nov 2025 21:22:30 +0000 Subject: [PATCH 54/62] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index cf398e1e..da7496f1 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 34 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-b5b567ef5b14f4b23f01e69b75d282ba3cf0ce6e8f5d57c859e844fbbf99eed6.yml -openapi_spec_hash: 2ddd1cbab48974dbf6357c2c10ee4701 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-17022011bf153e3ac9e20d23c5dca8a3072b0e735b47bb391b6e35b00348d5a5.yml +openapi_spec_hash: 0927cdce49a6e6915d6060c2ab43b0d0 config_hash: 0197f86ba1a4b1b5ce813d0e62138588 From 8d58d2ec40a74ec4456ced30cd656712a2e9d784 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 11 Nov 2025 22:22:39 +0000 Subject: [PATCH 55/62] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index da7496f1..cf398e1e 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 34 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-17022011bf153e3ac9e20d23c5dca8a3072b0e735b47bb391b6e35b00348d5a5.yml -openapi_spec_hash: 0927cdce49a6e6915d6060c2ab43b0d0 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-b5b567ef5b14f4b23f01e69b75d282ba3cf0ce6e8f5d57c859e844fbbf99eed6.yml +openapi_spec_hash: 2ddd1cbab48974dbf6357c2c10ee4701 config_hash: 0197f86ba1a4b1b5ce813d0e62138588 From 06f435ae673a113febb5abef22f0da098af17842 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 11 Nov 2025 23:22:33 +0000 Subject: [PATCH 56/62] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index cf398e1e..da7496f1 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 34 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-b5b567ef5b14f4b23f01e69b75d282ba3cf0ce6e8f5d57c859e844fbbf99eed6.yml -openapi_spec_hash: 2ddd1cbab48974dbf6357c2c10ee4701 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-17022011bf153e3ac9e20d23c5dca8a3072b0e735b47bb391b6e35b00348d5a5.yml +openapi_spec_hash: 0927cdce49a6e6915d6060c2ab43b0d0 config_hash: 0197f86ba1a4b1b5ce813d0e62138588 From ac80c16b75fb4c744246333dfaa4a15aa7ec223c Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 12 Nov 2025 00:22:30 +0000 Subject: [PATCH 57/62] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index da7496f1..cf398e1e 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 34 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-17022011bf153e3ac9e20d23c5dca8a3072b0e735b47bb391b6e35b00348d5a5.yml -openapi_spec_hash: 0927cdce49a6e6915d6060c2ab43b0d0 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-b5b567ef5b14f4b23f01e69b75d282ba3cf0ce6e8f5d57c859e844fbbf99eed6.yml +openapi_spec_hash: 2ddd1cbab48974dbf6357c2c10ee4701 config_hash: 0197f86ba1a4b1b5ce813d0e62138588 From 6be29bb85bad9edfbb34cb6eda969b5306c8e461 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 12 Nov 2025 02:22:29 +0000 Subject: [PATCH 58/62] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index cf398e1e..da7496f1 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 34 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-b5b567ef5b14f4b23f01e69b75d282ba3cf0ce6e8f5d57c859e844fbbf99eed6.yml -openapi_spec_hash: 2ddd1cbab48974dbf6357c2c10ee4701 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-17022011bf153e3ac9e20d23c5dca8a3072b0e735b47bb391b6e35b00348d5a5.yml +openapi_spec_hash: 0927cdce49a6e6915d6060c2ab43b0d0 config_hash: 0197f86ba1a4b1b5ce813d0e62138588 From 6213c7a4bc9eb824c6ffabe78b02322facc51503 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 12 Nov 2025 04:22:28 +0000 Subject: [PATCH 59/62] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index da7496f1..cf398e1e 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 34 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-17022011bf153e3ac9e20d23c5dca8a3072b0e735b47bb391b6e35b00348d5a5.yml -openapi_spec_hash: 0927cdce49a6e6915d6060c2ab43b0d0 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-b5b567ef5b14f4b23f01e69b75d282ba3cf0ce6e8f5d57c859e844fbbf99eed6.yml +openapi_spec_hash: 2ddd1cbab48974dbf6357c2c10ee4701 config_hash: 0197f86ba1a4b1b5ce813d0e62138588 From 6e2a09a2753c7f7a312583f2cd0312b4aa707bab Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 12 Nov 2025 05:22:28 +0000 Subject: [PATCH 60/62] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index cf398e1e..da7496f1 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 34 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-b5b567ef5b14f4b23f01e69b75d282ba3cf0ce6e8f5d57c859e844fbbf99eed6.yml -openapi_spec_hash: 2ddd1cbab48974dbf6357c2c10ee4701 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-17022011bf153e3ac9e20d23c5dca8a3072b0e735b47bb391b6e35b00348d5a5.yml +openapi_spec_hash: 0927cdce49a6e6915d6060c2ab43b0d0 config_hash: 0197f86ba1a4b1b5ce813d0e62138588 From ed8eb3c3e98fc504037046b0449add492495f178 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 12 Nov 2025 05:35:23 +0000 Subject: [PATCH 61/62] release: 0.6.6 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 15 +++++++++++++++ src/agentex/_version.py | 2 +- 3 files changed, 17 insertions(+), 2 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index e90b36cc..434e4dc8 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.6.5" + ".": "0.6.6" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 88b6e613..37db73d3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,20 @@ # Changelog +## 0.6.6 (2025-11-12) + +Full Changelog: [v0.6.5...v0.6.6](https://github.com/scaleapi/scale-agentex-python/compare/v0.6.5...v0.6.6) + +### Bug Fixes + +* compat with Python 3.14 ([9a62f23](https://github.com/scaleapi/scale-agentex-python/commit/9a62f23376ef797bafe67f61552eb7635286caa3)) +* **compat:** update signatures of `model_dump` and `model_dump_json` for Pydantic v1 ([cf857f9](https://github.com/scaleapi/scale-agentex-python/commit/cf857f9191f10a971e9cba2a8c764229ed4a7dfe)) + + +### Chores + +* **internal:** restore stats ([5ec0383](https://github.com/scaleapi/scale-agentex-python/commit/5ec0383d9d6a85b342263ba49b8e3893924c59fc)) +* **package:** drop Python 3.8 support ([3d4dc37](https://github.com/scaleapi/scale-agentex-python/commit/3d4dc37f87b8d8f1debbe6505746342e461772ba)) + ## 0.6.5 (2025-11-06) Full Changelog: [v0.6.4...v0.6.5](https://github.com/scaleapi/scale-agentex-python/compare/v0.6.4...v0.6.5) diff --git a/src/agentex/_version.py b/src/agentex/_version.py index 34669904..7d09bbd2 100644 --- a/src/agentex/_version.py +++ b/src/agentex/_version.py @@ -1,4 +1,4 @@ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. __title__ = "agentex" -__version__ = "0.6.5" # x-release-please-version +__version__ = "0.6.6" # x-release-please-version From 6ec37aed9aad7809268b27fdd3e7ad670f512bd1 Mon Sep 17 00:00:00 2001 From: Jason Yang <43145486+jasonyang101@users.noreply.github.com> Date: Tue, 11 Nov 2025 21:38:59 -0800 Subject: [PATCH 62/62] Fix typo in pyproject.toml classifiers Removed extra comma from the 'Intended Audience' classifier. --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index d7005868..12aea11e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -49,7 +49,7 @@ dependencies = [ requires-python = ">= 3.12,<4" classifiers = [ "Typing :: Typed", - "Intended Audience :: Developers",, + "Intended Audience :: Developers", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", "Programming Language :: Python :: 3.14",