From cd7c9b76a28f61d95c1c9f5477048c85f7e9f277 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 21 Apr 2026 15:19:45 +0000 Subject: [PATCH 01/70] feat(api): api update --- .stats.yml | 4 ++-- src/agentex/resources/spans.py | 24 ++---------------------- src/agentex/types/span.py | 3 --- src/agentex/types/span_create_params.py | 3 --- src/agentex/types/span_list_params.py | 2 -- src/agentex/types/span_update_params.py | 3 --- tests/api_resources/test_spans.py | 6 ------ 7 files changed, 4 insertions(+), 41 deletions(-) diff --git a/.stats.yml b/.stats.yml index 89e80cc66..7b6d3dc17 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 45 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-eeb5bf63b18d948611eec48d0225e9bba63b170f64eeeb35d91825724b7cf6c3.yml -openapi_spec_hash: 5bbd18a405a11e8497d38a5a88b98018 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-636aa63c588134e6f47fc45212049593d91f810a9c7bd8d7a57810cf1b5ffc92.yml +openapi_spec_hash: c76a42d4510aeafd896bc0d596f17af4 config_hash: fb079ef7936611b032568661b8165f19 diff --git a/src/agentex/resources/spans.py b/src/agentex/resources/spans.py index ecd692644..f8d97e0de 100644 --- a/src/agentex/resources/spans.py +++ b/src/agentex/resources/spans.py @@ -57,7 +57,6 @@ def create( input: Union[Dict[str, object], Iterable[Dict[str, object]], None] | Omit = omit, output: Union[Dict[str, object], Iterable[Dict[str, object]], None] | Omit = omit, parent_id: Optional[str] | Omit = omit, - task_id: Optional[str] | Omit = omit, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. # The extra values given here take precedence over values defined on the client or passed to this method. extra_headers: Headers | None = None, @@ -87,8 +86,6 @@ def create( parent_id: ID of the parent span if this is a child span in a trace - task_id: ID of the task this span belongs to - extra_headers: Send extra headers extra_query: Add additional query parameters to the request @@ -110,7 +107,6 @@ def create( "input": input, "output": output, "parent_id": parent_id, - "task_id": task_id, }, span_create_params.SpanCreateParams, ), @@ -164,7 +160,6 @@ def update( output: Union[Dict[str, object], Iterable[Dict[str, object]], None] | Omit = omit, parent_id: Optional[str] | Omit = omit, start_time: Union[str, datetime, None] | Omit = omit, - task_id: Optional[str] | Omit = omit, trace_id: Optional[str] | Omit = omit, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. # The extra values given here take precedence over values defined on the client or passed to this method. @@ -191,8 +186,6 @@ def update( start_time: The time the span started - task_id: ID of the task this span belongs to - trace_id: Unique identifier for the trace this span belongs to extra_headers: Send extra headers @@ -216,7 +209,6 @@ def update( "output": output, "parent_id": parent_id, "start_time": start_time, - "task_id": task_id, "trace_id": trace_id, }, span_update_params.SpanUpdateParams, @@ -234,7 +226,6 @@ def list( order_by: Optional[str] | Omit = omit, order_direction: str | Omit = omit, page_number: int | Omit = omit, - task_id: Optional[str] | Omit = omit, trace_id: Optional[str] | Omit = omit, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. # The extra values given here take precedence over values defined on the client or passed to this method. @@ -244,7 +235,7 @@ def list( timeout: float | httpx.Timeout | None | NotGiven = not_given, ) -> SpanListResponse: """ - List spans, optionally filtered by trace_id and/or task_id + List all spans for a given trace ID Args: extra_headers: Send extra headers @@ -268,7 +259,6 @@ def list( "order_by": order_by, "order_direction": order_direction, "page_number": page_number, - "task_id": task_id, "trace_id": trace_id, }, span_list_params.SpanListParams, @@ -310,7 +300,6 @@ async def create( input: Union[Dict[str, object], Iterable[Dict[str, object]], None] | Omit = omit, output: Union[Dict[str, object], Iterable[Dict[str, object]], None] | Omit = omit, parent_id: Optional[str] | Omit = omit, - task_id: Optional[str] | Omit = omit, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. # The extra values given here take precedence over values defined on the client or passed to this method. extra_headers: Headers | None = None, @@ -340,8 +329,6 @@ async def create( parent_id: ID of the parent span if this is a child span in a trace - task_id: ID of the task this span belongs to - extra_headers: Send extra headers extra_query: Add additional query parameters to the request @@ -363,7 +350,6 @@ async def create( "input": input, "output": output, "parent_id": parent_id, - "task_id": task_id, }, span_create_params.SpanCreateParams, ), @@ -417,7 +403,6 @@ async def update( output: Union[Dict[str, object], Iterable[Dict[str, object]], None] | Omit = omit, parent_id: Optional[str] | Omit = omit, start_time: Union[str, datetime, None] | Omit = omit, - task_id: Optional[str] | Omit = omit, trace_id: Optional[str] | Omit = omit, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. # The extra values given here take precedence over values defined on the client or passed to this method. @@ -444,8 +429,6 @@ async def update( start_time: The time the span started - task_id: ID of the task this span belongs to - trace_id: Unique identifier for the trace this span belongs to extra_headers: Send extra headers @@ -469,7 +452,6 @@ async def update( "output": output, "parent_id": parent_id, "start_time": start_time, - "task_id": task_id, "trace_id": trace_id, }, span_update_params.SpanUpdateParams, @@ -487,7 +469,6 @@ async def list( order_by: Optional[str] | Omit = omit, order_direction: str | Omit = omit, page_number: int | Omit = omit, - task_id: Optional[str] | Omit = omit, trace_id: Optional[str] | Omit = omit, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. # The extra values given here take precedence over values defined on the client or passed to this method. @@ -497,7 +478,7 @@ async def list( timeout: float | httpx.Timeout | None | NotGiven = not_given, ) -> SpanListResponse: """ - List spans, optionally filtered by trace_id and/or task_id + List all spans for a given trace ID Args: extra_headers: Send extra headers @@ -521,7 +502,6 @@ async def list( "order_by": order_by, "order_direction": order_direction, "page_number": page_number, - "task_id": task_id, "trace_id": trace_id, }, span_list_params.SpanListParams, diff --git a/src/agentex/types/span.py b/src/agentex/types/span.py index 98793c03b..e5719bbe6 100644 --- a/src/agentex/types/span.py +++ b/src/agentex/types/span.py @@ -34,6 +34,3 @@ class Span(BaseModel): parent_id: Optional[str] = None """ID of the parent span if this is a child span in a trace""" - - task_id: Optional[str] = None - """ID of the task this span belongs to""" diff --git a/src/agentex/types/span_create_params.py b/src/agentex/types/span_create_params.py index 7debfc8d4..c7111d6fa 100644 --- a/src/agentex/types/span_create_params.py +++ b/src/agentex/types/span_create_params.py @@ -38,6 +38,3 @@ class SpanCreateParams(TypedDict, total=False): parent_id: Optional[str] """ID of the parent span if this is a child span in a trace""" - - task_id: Optional[str] - """ID of the task this span belongs to""" diff --git a/src/agentex/types/span_list_params.py b/src/agentex/types/span_list_params.py index 286c3d2bf..40d4d651b 100644 --- a/src/agentex/types/span_list_params.py +++ b/src/agentex/types/span_list_params.py @@ -17,6 +17,4 @@ class SpanListParams(TypedDict, total=False): page_number: int - task_id: Optional[str] - trace_id: Optional[str] diff --git a/src/agentex/types/span_update_params.py b/src/agentex/types/span_update_params.py index fda32dbad..3ebb54654 100644 --- a/src/agentex/types/span_update_params.py +++ b/src/agentex/types/span_update_params.py @@ -33,8 +33,5 @@ class SpanUpdateParams(TypedDict, total=False): start_time: Annotated[Union[str, datetime, None], PropertyInfo(format="iso8601")] """The time the span started""" - task_id: Optional[str] - """ID of the task this span belongs to""" - trace_id: Optional[str] """Unique identifier for the trace this span belongs to""" diff --git a/tests/api_resources/test_spans.py b/tests/api_resources/test_spans.py index 7cccec2ad..948760a67 100644 --- a/tests/api_resources/test_spans.py +++ b/tests/api_resources/test_spans.py @@ -42,7 +42,6 @@ def test_method_create_with_all_params(self, client: Agentex) -> None: input={"foo": "bar"}, output={"foo": "bar"}, parent_id="parent_id", - task_id="task_id", ) assert_matches_type(Span, span, path=["response"]) @@ -138,7 +137,6 @@ def test_method_update_with_all_params(self, client: Agentex) -> None: output={"foo": "bar"}, parent_id="parent_id", start_time=parse_datetime("2019-12-27T18:11:19.117Z"), - task_id="task_id", trace_id="trace_id", ) assert_matches_type(Span, span, path=["response"]) @@ -191,7 +189,6 @@ def test_method_list_with_all_params(self, client: Agentex) -> None: order_by="order_by", order_direction="order_direction", page_number=1, - task_id="task_id", trace_id="trace_id", ) assert_matches_type(SpanListResponse, span, path=["response"]) @@ -247,7 +244,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncAgentex) - input={"foo": "bar"}, output={"foo": "bar"}, parent_id="parent_id", - task_id="task_id", ) assert_matches_type(Span, span, path=["response"]) @@ -343,7 +339,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncAgentex) - output={"foo": "bar"}, parent_id="parent_id", start_time=parse_datetime("2019-12-27T18:11:19.117Z"), - task_id="task_id", trace_id="trace_id", ) assert_matches_type(Span, span, path=["response"]) @@ -396,7 +391,6 @@ async def test_method_list_with_all_params(self, async_client: AsyncAgentex) -> order_by="order_by", order_direction="order_direction", page_number=1, - task_id="task_id", trace_id="trace_id", ) assert_matches_type(SpanListResponse, span, path=["response"]) From 44664f7386c9af7f70596f48eb332dc306d82ce7 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 21 Apr 2026 17:19:45 +0000 Subject: [PATCH 02/70] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 7b6d3dc17..7e2b365ce 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 45 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-636aa63c588134e6f47fc45212049593d91f810a9c7bd8d7a57810cf1b5ffc92.yml -openapi_spec_hash: c76a42d4510aeafd896bc0d596f17af4 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-fe7288ac9aa515c44238c1d931db3eb86fd0ac36cf19da2f5d15c565f48b4039.yml +openapi_spec_hash: 5339c136760ece9fa1efb9a4f7749673 config_hash: fb079ef7936611b032568661b8165f19 From c6c1b5eebbbf6b6555ed462e67a3565758d41b0b Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 21 Apr 2026 18:19:49 +0000 Subject: [PATCH 03/70] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 7e2b365ce..7b6d3dc17 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 45 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-fe7288ac9aa515c44238c1d931db3eb86fd0ac36cf19da2f5d15c565f48b4039.yml -openapi_spec_hash: 5339c136760ece9fa1efb9a4f7749673 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-636aa63c588134e6f47fc45212049593d91f810a9c7bd8d7a57810cf1b5ffc92.yml +openapi_spec_hash: c76a42d4510aeafd896bc0d596f17af4 config_hash: fb079ef7936611b032568661b8165f19 From ff8d02cb075273fa0fefa18e945ce33132832b0f Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 21 Apr 2026 20:19:43 +0000 Subject: [PATCH 04/70] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 7b6d3dc17..7e2b365ce 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 45 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-636aa63c588134e6f47fc45212049593d91f810a9c7bd8d7a57810cf1b5ffc92.yml -openapi_spec_hash: c76a42d4510aeafd896bc0d596f17af4 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-fe7288ac9aa515c44238c1d931db3eb86fd0ac36cf19da2f5d15c565f48b4039.yml +openapi_spec_hash: 5339c136760ece9fa1efb9a4f7749673 config_hash: fb079ef7936611b032568661b8165f19 From be3159370b9e53caa59b33704897f7fc735c66dc Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 21 Apr 2026 22:19:44 +0000 Subject: [PATCH 05/70] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 7e2b365ce..7b6d3dc17 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 45 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-fe7288ac9aa515c44238c1d931db3eb86fd0ac36cf19da2f5d15c565f48b4039.yml -openapi_spec_hash: 5339c136760ece9fa1efb9a4f7749673 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-636aa63c588134e6f47fc45212049593d91f810a9c7bd8d7a57810cf1b5ffc92.yml +openapi_spec_hash: c76a42d4510aeafd896bc0d596f17af4 config_hash: fb079ef7936611b032568661b8165f19 From 386f244066df177b92cfb1d40a641a09e04f0022 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 22 Apr 2026 02:19:41 +0000 Subject: [PATCH 06/70] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 7b6d3dc17..7e2b365ce 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 45 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-636aa63c588134e6f47fc45212049593d91f810a9c7bd8d7a57810cf1b5ffc92.yml -openapi_spec_hash: c76a42d4510aeafd896bc0d596f17af4 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-fe7288ac9aa515c44238c1d931db3eb86fd0ac36cf19da2f5d15c565f48b4039.yml +openapi_spec_hash: 5339c136760ece9fa1efb9a4f7749673 config_hash: fb079ef7936611b032568661b8165f19 From 67507d592b3001f8a722ea563791f89bc795189e Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 22 Apr 2026 08:19:41 +0000 Subject: [PATCH 07/70] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 7e2b365ce..7b6d3dc17 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 45 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-fe7288ac9aa515c44238c1d931db3eb86fd0ac36cf19da2f5d15c565f48b4039.yml -openapi_spec_hash: 5339c136760ece9fa1efb9a4f7749673 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-636aa63c588134e6f47fc45212049593d91f810a9c7bd8d7a57810cf1b5ffc92.yml +openapi_spec_hash: c76a42d4510aeafd896bc0d596f17af4 config_hash: fb079ef7936611b032568661b8165f19 From 35574d4b517ba81c8d2ed2aa7c0295c6123d9249 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 22 Apr 2026 10:19:43 +0000 Subject: [PATCH 08/70] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 7b6d3dc17..7e2b365ce 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 45 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-636aa63c588134e6f47fc45212049593d91f810a9c7bd8d7a57810cf1b5ffc92.yml -openapi_spec_hash: c76a42d4510aeafd896bc0d596f17af4 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-fe7288ac9aa515c44238c1d931db3eb86fd0ac36cf19da2f5d15c565f48b4039.yml +openapi_spec_hash: 5339c136760ece9fa1efb9a4f7749673 config_hash: fb079ef7936611b032568661b8165f19 From 089c77603042ebe37db5cc9d8e2405259e352e71 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 22 Apr 2026 11:19:39 +0000 Subject: [PATCH 09/70] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 7e2b365ce..7b6d3dc17 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 45 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-fe7288ac9aa515c44238c1d931db3eb86fd0ac36cf19da2f5d15c565f48b4039.yml -openapi_spec_hash: 5339c136760ece9fa1efb9a4f7749673 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-636aa63c588134e6f47fc45212049593d91f810a9c7bd8d7a57810cf1b5ffc92.yml +openapi_spec_hash: c76a42d4510aeafd896bc0d596f17af4 config_hash: fb079ef7936611b032568661b8165f19 From 799afcba429f7fd08aaed8e445b33eb521f8aece Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 22 Apr 2026 13:19:42 +0000 Subject: [PATCH 10/70] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 7b6d3dc17..7e2b365ce 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 45 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-636aa63c588134e6f47fc45212049593d91f810a9c7bd8d7a57810cf1b5ffc92.yml -openapi_spec_hash: c76a42d4510aeafd896bc0d596f17af4 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-fe7288ac9aa515c44238c1d931db3eb86fd0ac36cf19da2f5d15c565f48b4039.yml +openapi_spec_hash: 5339c136760ece9fa1efb9a4f7749673 config_hash: fb079ef7936611b032568661b8165f19 From dd592831d5d0304cf2c585b8a995ac4a8c407773 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 22 Apr 2026 14:02:35 +0000 Subject: [PATCH 11/70] chore(internal): more robust bootstrap script --- scripts/bootstrap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/bootstrap b/scripts/bootstrap index b430fee36..fe8451e4f 100755 --- a/scripts/bootstrap +++ b/scripts/bootstrap @@ -4,7 +4,7 @@ set -e cd "$(dirname "$0")/.." -if [ -f "Brewfile" ] && [ "$(uname -s)" = "Darwin" ] && [ "$SKIP_BREW" != "1" ] && [ -t 0 ]; then +if [ -f "Brewfile" ] && [ "$(uname -s)" = "Darwin" ] && [ "${SKIP_BREW:-}" != "1" ] && [ -t 0 ]; then brew bundle check >/dev/null 2>&1 || { echo -n "==> Install Homebrew dependencies? (y/N): " read -r response From cf8f366f99d7b737ca18682701be53cdac5f33c0 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 22 Apr 2026 16:19:45 +0000 Subject: [PATCH 12/70] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 7e2b365ce..7b6d3dc17 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 45 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-fe7288ac9aa515c44238c1d931db3eb86fd0ac36cf19da2f5d15c565f48b4039.yml -openapi_spec_hash: 5339c136760ece9fa1efb9a4f7749673 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-636aa63c588134e6f47fc45212049593d91f810a9c7bd8d7a57810cf1b5ffc92.yml +openapi_spec_hash: c76a42d4510aeafd896bc0d596f17af4 config_hash: fb079ef7936611b032568661b8165f19 From 6b1662fdbe79210f0403ae35c601f550e2fb912c Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 22 Apr 2026 18:19:45 +0000 Subject: [PATCH 13/70] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 7b6d3dc17..7e2b365ce 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 45 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-636aa63c588134e6f47fc45212049593d91f810a9c7bd8d7a57810cf1b5ffc92.yml -openapi_spec_hash: c76a42d4510aeafd896bc0d596f17af4 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-fe7288ac9aa515c44238c1d931db3eb86fd0ac36cf19da2f5d15c565f48b4039.yml +openapi_spec_hash: 5339c136760ece9fa1efb9a4f7749673 config_hash: fb079ef7936611b032568661b8165f19 From ac2ca9e55b3d3b7fde1bd2466c2d3a04e5d635e3 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 23 Apr 2026 00:20:13 +0000 Subject: [PATCH 14/70] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 7e2b365ce..7b6d3dc17 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 45 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-fe7288ac9aa515c44238c1d931db3eb86fd0ac36cf19da2f5d15c565f48b4039.yml -openapi_spec_hash: 5339c136760ece9fa1efb9a4f7749673 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-636aa63c588134e6f47fc45212049593d91f810a9c7bd8d7a57810cf1b5ffc92.yml +openapi_spec_hash: c76a42d4510aeafd896bc0d596f17af4 config_hash: fb079ef7936611b032568661b8165f19 From dee4759b90de7246925711272a660d3383f2f1a6 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 23 Apr 2026 03:19:52 +0000 Subject: [PATCH 15/70] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 7b6d3dc17..7e2b365ce 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 45 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-636aa63c588134e6f47fc45212049593d91f810a9c7bd8d7a57810cf1b5ffc92.yml -openapi_spec_hash: c76a42d4510aeafd896bc0d596f17af4 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-fe7288ac9aa515c44238c1d931db3eb86fd0ac36cf19da2f5d15c565f48b4039.yml +openapi_spec_hash: 5339c136760ece9fa1efb9a4f7749673 config_hash: fb079ef7936611b032568661b8165f19 From 2e0012cf8d515aa1f92264d3f38d6f3604691985 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 23 Apr 2026 04:20:05 +0000 Subject: [PATCH 16/70] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 7e2b365ce..7b6d3dc17 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 45 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-fe7288ac9aa515c44238c1d931db3eb86fd0ac36cf19da2f5d15c565f48b4039.yml -openapi_spec_hash: 5339c136760ece9fa1efb9a4f7749673 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-636aa63c588134e6f47fc45212049593d91f810a9c7bd8d7a57810cf1b5ffc92.yml +openapi_spec_hash: c76a42d4510aeafd896bc0d596f17af4 config_hash: fb079ef7936611b032568661b8165f19 From 3333d5a1654784ee5fa909378390e0278c9f79c6 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 23 Apr 2026 08:20:06 +0000 Subject: [PATCH 17/70] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 7b6d3dc17..7e2b365ce 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 45 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-636aa63c588134e6f47fc45212049593d91f810a9c7bd8d7a57810cf1b5ffc92.yml -openapi_spec_hash: c76a42d4510aeafd896bc0d596f17af4 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-fe7288ac9aa515c44238c1d931db3eb86fd0ac36cf19da2f5d15c565f48b4039.yml +openapi_spec_hash: 5339c136760ece9fa1efb9a4f7749673 config_hash: fb079ef7936611b032568661b8165f19 From 0ecc6e304ae17ae268a5c5e6d8936d21bcdf111d Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 23 Apr 2026 11:20:06 +0000 Subject: [PATCH 18/70] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 7e2b365ce..7b6d3dc17 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 45 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-fe7288ac9aa515c44238c1d931db3eb86fd0ac36cf19da2f5d15c565f48b4039.yml -openapi_spec_hash: 5339c136760ece9fa1efb9a4f7749673 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-636aa63c588134e6f47fc45212049593d91f810a9c7bd8d7a57810cf1b5ffc92.yml +openapi_spec_hash: c76a42d4510aeafd896bc0d596f17af4 config_hash: fb079ef7936611b032568661b8165f19 From e1ca6583dfcb0dcc560d32ba4259b458e4c72396 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 23 Apr 2026 12:20:06 +0000 Subject: [PATCH 19/70] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 7b6d3dc17..7e2b365ce 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 45 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-636aa63c588134e6f47fc45212049593d91f810a9c7bd8d7a57810cf1b5ffc92.yml -openapi_spec_hash: c76a42d4510aeafd896bc0d596f17af4 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-fe7288ac9aa515c44238c1d931db3eb86fd0ac36cf19da2f5d15c565f48b4039.yml +openapi_spec_hash: 5339c136760ece9fa1efb9a4f7749673 config_hash: fb079ef7936611b032568661b8165f19 From 17d11489515490c53130999ed4f327ffc773faec Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 23 Apr 2026 13:20:13 +0000 Subject: [PATCH 20/70] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 7e2b365ce..7b6d3dc17 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 45 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-fe7288ac9aa515c44238c1d931db3eb86fd0ac36cf19da2f5d15c565f48b4039.yml -openapi_spec_hash: 5339c136760ece9fa1efb9a4f7749673 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-636aa63c588134e6f47fc45212049593d91f810a9c7bd8d7a57810cf1b5ffc92.yml +openapi_spec_hash: c76a42d4510aeafd896bc0d596f17af4 config_hash: fb079ef7936611b032568661b8165f19 From 84c23ba38cdf45f883364d0e94c19efd850516e7 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 23 Apr 2026 14:20:06 +0000 Subject: [PATCH 21/70] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 7b6d3dc17..7e2b365ce 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 45 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-636aa63c588134e6f47fc45212049593d91f810a9c7bd8d7a57810cf1b5ffc92.yml -openapi_spec_hash: c76a42d4510aeafd896bc0d596f17af4 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-fe7288ac9aa515c44238c1d931db3eb86fd0ac36cf19da2f5d15c565f48b4039.yml +openapi_spec_hash: 5339c136760ece9fa1efb9a4f7749673 config_hash: fb079ef7936611b032568661b8165f19 From fe4ffd08249a7c9ca75936b50f4409145d70c06c Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 23 Apr 2026 15:20:07 +0000 Subject: [PATCH 22/70] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 7e2b365ce..7b6d3dc17 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 45 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-fe7288ac9aa515c44238c1d931db3eb86fd0ac36cf19da2f5d15c565f48b4039.yml -openapi_spec_hash: 5339c136760ece9fa1efb9a4f7749673 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-636aa63c588134e6f47fc45212049593d91f810a9c7bd8d7a57810cf1b5ffc92.yml +openapi_spec_hash: c76a42d4510aeafd896bc0d596f17af4 config_hash: fb079ef7936611b032568661b8165f19 From f7c76f09e0c0b6f3186f7c8badb4b8a69f6dec57 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 23 Apr 2026 18:20:05 +0000 Subject: [PATCH 23/70] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 7b6d3dc17..7e2b365ce 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 45 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-636aa63c588134e6f47fc45212049593d91f810a9c7bd8d7a57810cf1b5ffc92.yml -openapi_spec_hash: c76a42d4510aeafd896bc0d596f17af4 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-fe7288ac9aa515c44238c1d931db3eb86fd0ac36cf19da2f5d15c565f48b4039.yml +openapi_spec_hash: 5339c136760ece9fa1efb9a4f7749673 config_hash: fb079ef7936611b032568661b8165f19 From 0948d41f40d2a1f76a49cf05d2581fba1fa94521 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 23 Apr 2026 19:20:06 +0000 Subject: [PATCH 24/70] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 7e2b365ce..7b6d3dc17 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 45 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-fe7288ac9aa515c44238c1d931db3eb86fd0ac36cf19da2f5d15c565f48b4039.yml -openapi_spec_hash: 5339c136760ece9fa1efb9a4f7749673 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-636aa63c588134e6f47fc45212049593d91f810a9c7bd8d7a57810cf1b5ffc92.yml +openapi_spec_hash: c76a42d4510aeafd896bc0d596f17af4 config_hash: fb079ef7936611b032568661b8165f19 From d613307cdc3fe6c3ff85fd680cf600845144b262 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 23 Apr 2026 23:20:05 +0000 Subject: [PATCH 25/70] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 7b6d3dc17..7e2b365ce 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 45 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-636aa63c588134e6f47fc45212049593d91f810a9c7bd8d7a57810cf1b5ffc92.yml -openapi_spec_hash: c76a42d4510aeafd896bc0d596f17af4 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-fe7288ac9aa515c44238c1d931db3eb86fd0ac36cf19da2f5d15c565f48b4039.yml +openapi_spec_hash: 5339c136760ece9fa1efb9a4f7749673 config_hash: fb079ef7936611b032568661b8165f19 From 291d2b79fcd664e2b82bcc9090f5e0056b2e67b1 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 24 Apr 2026 00:20:04 +0000 Subject: [PATCH 26/70] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 7e2b365ce..7b6d3dc17 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 45 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-fe7288ac9aa515c44238c1d931db3eb86fd0ac36cf19da2f5d15c565f48b4039.yml -openapi_spec_hash: 5339c136760ece9fa1efb9a4f7749673 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-636aa63c588134e6f47fc45212049593d91f810a9c7bd8d7a57810cf1b5ffc92.yml +openapi_spec_hash: c76a42d4510aeafd896bc0d596f17af4 config_hash: fb079ef7936611b032568661b8165f19 From 6242b33eea248ed0f2c32cda07444dd0d5a638cf Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 24 Apr 2026 01:20:05 +0000 Subject: [PATCH 27/70] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 7b6d3dc17..7e2b365ce 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 45 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-636aa63c588134e6f47fc45212049593d91f810a9c7bd8d7a57810cf1b5ffc92.yml -openapi_spec_hash: c76a42d4510aeafd896bc0d596f17af4 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-fe7288ac9aa515c44238c1d931db3eb86fd0ac36cf19da2f5d15c565f48b4039.yml +openapi_spec_hash: 5339c136760ece9fa1efb9a4f7749673 config_hash: fb079ef7936611b032568661b8165f19 From 92724b0c679213bb93d11b21df565423401a06cc Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 24 Apr 2026 02:20:05 +0000 Subject: [PATCH 28/70] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 7e2b365ce..7b6d3dc17 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 45 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-fe7288ac9aa515c44238c1d931db3eb86fd0ac36cf19da2f5d15c565f48b4039.yml -openapi_spec_hash: 5339c136760ece9fa1efb9a4f7749673 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-636aa63c588134e6f47fc45212049593d91f810a9c7bd8d7a57810cf1b5ffc92.yml +openapi_spec_hash: c76a42d4510aeafd896bc0d596f17af4 config_hash: fb079ef7936611b032568661b8165f19 From 05885c77c3666490d993787d3ea2262b9ed82d4b Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 24 Apr 2026 06:20:12 +0000 Subject: [PATCH 29/70] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 7b6d3dc17..7e2b365ce 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 45 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-636aa63c588134e6f47fc45212049593d91f810a9c7bd8d7a57810cf1b5ffc92.yml -openapi_spec_hash: c76a42d4510aeafd896bc0d596f17af4 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-fe7288ac9aa515c44238c1d931db3eb86fd0ac36cf19da2f5d15c565f48b4039.yml +openapi_spec_hash: 5339c136760ece9fa1efb9a4f7749673 config_hash: fb079ef7936611b032568661b8165f19 From c7ddc9a94c90bbe90d943b7780218e5db4b599d4 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 24 Apr 2026 07:20:07 +0000 Subject: [PATCH 30/70] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 7e2b365ce..7b6d3dc17 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 45 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-fe7288ac9aa515c44238c1d931db3eb86fd0ac36cf19da2f5d15c565f48b4039.yml -openapi_spec_hash: 5339c136760ece9fa1efb9a4f7749673 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-636aa63c588134e6f47fc45212049593d91f810a9c7bd8d7a57810cf1b5ffc92.yml +openapi_spec_hash: c76a42d4510aeafd896bc0d596f17af4 config_hash: fb079ef7936611b032568661b8165f19 From 24a53f3b060254d9fb3f22e3523b60c2b83c2b0f Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 24 Apr 2026 08:20:07 +0000 Subject: [PATCH 31/70] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 7b6d3dc17..7e2b365ce 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 45 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-636aa63c588134e6f47fc45212049593d91f810a9c7bd8d7a57810cf1b5ffc92.yml -openapi_spec_hash: c76a42d4510aeafd896bc0d596f17af4 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-fe7288ac9aa515c44238c1d931db3eb86fd0ac36cf19da2f5d15c565f48b4039.yml +openapi_spec_hash: 5339c136760ece9fa1efb9a4f7749673 config_hash: fb079ef7936611b032568661b8165f19 From 4c159a9f9f1d55c49de21d7443915ee2ad5e2782 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 24 Apr 2026 17:20:16 +0000 Subject: [PATCH 32/70] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 7e2b365ce..7b6d3dc17 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 45 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-fe7288ac9aa515c44238c1d931db3eb86fd0ac36cf19da2f5d15c565f48b4039.yml -openapi_spec_hash: 5339c136760ece9fa1efb9a4f7749673 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-636aa63c588134e6f47fc45212049593d91f810a9c7bd8d7a57810cf1b5ffc92.yml +openapi_spec_hash: c76a42d4510aeafd896bc0d596f17af4 config_hash: fb079ef7936611b032568661b8165f19 From 3a97da1d8405a842a0ec7bec09ac514f32e325cc Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 24 Apr 2026 21:20:18 +0000 Subject: [PATCH 33/70] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 7b6d3dc17..7e2b365ce 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 45 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-636aa63c588134e6f47fc45212049593d91f810a9c7bd8d7a57810cf1b5ffc92.yml -openapi_spec_hash: c76a42d4510aeafd896bc0d596f17af4 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-fe7288ac9aa515c44238c1d931db3eb86fd0ac36cf19da2f5d15c565f48b4039.yml +openapi_spec_hash: 5339c136760ece9fa1efb9a4f7749673 config_hash: fb079ef7936611b032568661b8165f19 From bf70b13f1f47fe2bdb4029727d5cee7ba5b57c91 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 24 Apr 2026 23:20:12 +0000 Subject: [PATCH 34/70] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 7e2b365ce..7b6d3dc17 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 45 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-fe7288ac9aa515c44238c1d931db3eb86fd0ac36cf19da2f5d15c565f48b4039.yml -openapi_spec_hash: 5339c136760ece9fa1efb9a4f7749673 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-636aa63c588134e6f47fc45212049593d91f810a9c7bd8d7a57810cf1b5ffc92.yml +openapi_spec_hash: c76a42d4510aeafd896bc0d596f17af4 config_hash: fb079ef7936611b032568661b8165f19 From 259ee53db0323e8a45eba13dd2d5f61b2ebc64cf Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sat, 25 Apr 2026 00:20:23 +0000 Subject: [PATCH 35/70] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 7b6d3dc17..7e2b365ce 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 45 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-636aa63c588134e6f47fc45212049593d91f810a9c7bd8d7a57810cf1b5ffc92.yml -openapi_spec_hash: c76a42d4510aeafd896bc0d596f17af4 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-fe7288ac9aa515c44238c1d931db3eb86fd0ac36cf19da2f5d15c565f48b4039.yml +openapi_spec_hash: 5339c136760ece9fa1efb9a4f7749673 config_hash: fb079ef7936611b032568661b8165f19 From 37a5576e51f3f11db54559e2650f20e173cad10d Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sat, 25 Apr 2026 01:20:25 +0000 Subject: [PATCH 36/70] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 7e2b365ce..7b6d3dc17 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 45 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-fe7288ac9aa515c44238c1d931db3eb86fd0ac36cf19da2f5d15c565f48b4039.yml -openapi_spec_hash: 5339c136760ece9fa1efb9a4f7749673 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-636aa63c588134e6f47fc45212049593d91f810a9c7bd8d7a57810cf1b5ffc92.yml +openapi_spec_hash: c76a42d4510aeafd896bc0d596f17af4 config_hash: fb079ef7936611b032568661b8165f19 From 6a3184760f6c935702da11786fddde113efd46b9 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sat, 25 Apr 2026 02:20:20 +0000 Subject: [PATCH 37/70] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 7b6d3dc17..7e2b365ce 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 45 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-636aa63c588134e6f47fc45212049593d91f810a9c7bd8d7a57810cf1b5ffc92.yml -openapi_spec_hash: c76a42d4510aeafd896bc0d596f17af4 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-fe7288ac9aa515c44238c1d931db3eb86fd0ac36cf19da2f5d15c565f48b4039.yml +openapi_spec_hash: 5339c136760ece9fa1efb9a4f7749673 config_hash: fb079ef7936611b032568661b8165f19 From eeb6863e14159c50d1d515b55e98daedbff3d04a Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sat, 25 Apr 2026 03:20:22 +0000 Subject: [PATCH 38/70] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 7e2b365ce..7b6d3dc17 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 45 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-fe7288ac9aa515c44238c1d931db3eb86fd0ac36cf19da2f5d15c565f48b4039.yml -openapi_spec_hash: 5339c136760ece9fa1efb9a4f7749673 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-636aa63c588134e6f47fc45212049593d91f810a9c7bd8d7a57810cf1b5ffc92.yml +openapi_spec_hash: c76a42d4510aeafd896bc0d596f17af4 config_hash: fb079ef7936611b032568661b8165f19 From 2b3ba683869ab531502d3f75b79828a2b075546a Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sat, 25 Apr 2026 06:20:23 +0000 Subject: [PATCH 39/70] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 7b6d3dc17..7e2b365ce 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 45 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-636aa63c588134e6f47fc45212049593d91f810a9c7bd8d7a57810cf1b5ffc92.yml -openapi_spec_hash: c76a42d4510aeafd896bc0d596f17af4 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-fe7288ac9aa515c44238c1d931db3eb86fd0ac36cf19da2f5d15c565f48b4039.yml +openapi_spec_hash: 5339c136760ece9fa1efb9a4f7749673 config_hash: fb079ef7936611b032568661b8165f19 From 79a70a9032d05000ba571f0bb43984daf9b34eb8 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sat, 25 Apr 2026 07:20:22 +0000 Subject: [PATCH 40/70] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 7e2b365ce..7b6d3dc17 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 45 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-fe7288ac9aa515c44238c1d931db3eb86fd0ac36cf19da2f5d15c565f48b4039.yml -openapi_spec_hash: 5339c136760ece9fa1efb9a4f7749673 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-636aa63c588134e6f47fc45212049593d91f810a9c7bd8d7a57810cf1b5ffc92.yml +openapi_spec_hash: c76a42d4510aeafd896bc0d596f17af4 config_hash: fb079ef7936611b032568661b8165f19 From 3dd4dc4705c8dc6067179061b4e46f74652c2747 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sat, 25 Apr 2026 10:20:24 +0000 Subject: [PATCH 41/70] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 7b6d3dc17..7e2b365ce 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 45 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-636aa63c588134e6f47fc45212049593d91f810a9c7bd8d7a57810cf1b5ffc92.yml -openapi_spec_hash: c76a42d4510aeafd896bc0d596f17af4 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-fe7288ac9aa515c44238c1d931db3eb86fd0ac36cf19da2f5d15c565f48b4039.yml +openapi_spec_hash: 5339c136760ece9fa1efb9a4f7749673 config_hash: fb079ef7936611b032568661b8165f19 From d9a19ce23e2bb636e238d4969fbc497647e4abdc Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sat, 25 Apr 2026 12:20:23 +0000 Subject: [PATCH 42/70] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 7e2b365ce..7b6d3dc17 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 45 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-fe7288ac9aa515c44238c1d931db3eb86fd0ac36cf19da2f5d15c565f48b4039.yml -openapi_spec_hash: 5339c136760ece9fa1efb9a4f7749673 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-636aa63c588134e6f47fc45212049593d91f810a9c7bd8d7a57810cf1b5ffc92.yml +openapi_spec_hash: c76a42d4510aeafd896bc0d596f17af4 config_hash: fb079ef7936611b032568661b8165f19 From 0d942e43c61ab3feb181748ef35d01455da8d5ef Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sat, 25 Apr 2026 14:20:22 +0000 Subject: [PATCH 43/70] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 7b6d3dc17..7e2b365ce 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 45 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-636aa63c588134e6f47fc45212049593d91f810a9c7bd8d7a57810cf1b5ffc92.yml -openapi_spec_hash: c76a42d4510aeafd896bc0d596f17af4 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-fe7288ac9aa515c44238c1d931db3eb86fd0ac36cf19da2f5d15c565f48b4039.yml +openapi_spec_hash: 5339c136760ece9fa1efb9a4f7749673 config_hash: fb079ef7936611b032568661b8165f19 From e0240b33dba6401a49bec7869c72a179872499a4 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sat, 25 Apr 2026 15:20:21 +0000 Subject: [PATCH 44/70] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 7e2b365ce..7b6d3dc17 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 45 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-fe7288ac9aa515c44238c1d931db3eb86fd0ac36cf19da2f5d15c565f48b4039.yml -openapi_spec_hash: 5339c136760ece9fa1efb9a4f7749673 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-636aa63c588134e6f47fc45212049593d91f810a9c7bd8d7a57810cf1b5ffc92.yml +openapi_spec_hash: c76a42d4510aeafd896bc0d596f17af4 config_hash: fb079ef7936611b032568661b8165f19 From d344fe4b70c5d9930b3e60d2e9e8af315406bc03 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sat, 25 Apr 2026 17:20:23 +0000 Subject: [PATCH 45/70] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 7b6d3dc17..7e2b365ce 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 45 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-636aa63c588134e6f47fc45212049593d91f810a9c7bd8d7a57810cf1b5ffc92.yml -openapi_spec_hash: c76a42d4510aeafd896bc0d596f17af4 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-fe7288ac9aa515c44238c1d931db3eb86fd0ac36cf19da2f5d15c565f48b4039.yml +openapi_spec_hash: 5339c136760ece9fa1efb9a4f7749673 config_hash: fb079ef7936611b032568661b8165f19 From 79527a4daef2be1b4777e8bebe7969ace683d390 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sat, 25 Apr 2026 19:20:24 +0000 Subject: [PATCH 46/70] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 7e2b365ce..7b6d3dc17 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 45 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-fe7288ac9aa515c44238c1d931db3eb86fd0ac36cf19da2f5d15c565f48b4039.yml -openapi_spec_hash: 5339c136760ece9fa1efb9a4f7749673 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-636aa63c588134e6f47fc45212049593d91f810a9c7bd8d7a57810cf1b5ffc92.yml +openapi_spec_hash: c76a42d4510aeafd896bc0d596f17af4 config_hash: fb079ef7936611b032568661b8165f19 From cdb378f0eb5f36b5d44c552d0571c9704dbaee68 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sat, 25 Apr 2026 22:20:24 +0000 Subject: [PATCH 47/70] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 7b6d3dc17..7e2b365ce 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 45 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-636aa63c588134e6f47fc45212049593d91f810a9c7bd8d7a57810cf1b5ffc92.yml -openapi_spec_hash: c76a42d4510aeafd896bc0d596f17af4 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-fe7288ac9aa515c44238c1d931db3eb86fd0ac36cf19da2f5d15c565f48b4039.yml +openapi_spec_hash: 5339c136760ece9fa1efb9a4f7749673 config_hash: fb079ef7936611b032568661b8165f19 From 8c1b26a5c7eee92af9e5b6b6013ff61cb8d21e6b Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sun, 26 Apr 2026 01:20:23 +0000 Subject: [PATCH 48/70] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 7e2b365ce..7b6d3dc17 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 45 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-fe7288ac9aa515c44238c1d931db3eb86fd0ac36cf19da2f5d15c565f48b4039.yml -openapi_spec_hash: 5339c136760ece9fa1efb9a4f7749673 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-636aa63c588134e6f47fc45212049593d91f810a9c7bd8d7a57810cf1b5ffc92.yml +openapi_spec_hash: c76a42d4510aeafd896bc0d596f17af4 config_hash: fb079ef7936611b032568661b8165f19 From 73a79b28ec9f143c295b5c25769448b8ddf6431c Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sun, 26 Apr 2026 05:20:21 +0000 Subject: [PATCH 49/70] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 7b6d3dc17..7e2b365ce 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 45 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-636aa63c588134e6f47fc45212049593d91f810a9c7bd8d7a57810cf1b5ffc92.yml -openapi_spec_hash: c76a42d4510aeafd896bc0d596f17af4 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-fe7288ac9aa515c44238c1d931db3eb86fd0ac36cf19da2f5d15c565f48b4039.yml +openapi_spec_hash: 5339c136760ece9fa1efb9a4f7749673 config_hash: fb079ef7936611b032568661b8165f19 From 667dc140b913e18846d0878f467696bf07210111 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sun, 26 Apr 2026 08:20:23 +0000 Subject: [PATCH 50/70] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 7e2b365ce..7b6d3dc17 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 45 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-fe7288ac9aa515c44238c1d931db3eb86fd0ac36cf19da2f5d15c565f48b4039.yml -openapi_spec_hash: 5339c136760ece9fa1efb9a4f7749673 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-636aa63c588134e6f47fc45212049593d91f810a9c7bd8d7a57810cf1b5ffc92.yml +openapi_spec_hash: c76a42d4510aeafd896bc0d596f17af4 config_hash: fb079ef7936611b032568661b8165f19 From 796f4fca79681631e6acf85bc1d66d507c6b2802 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sun, 26 Apr 2026 13:20:23 +0000 Subject: [PATCH 51/70] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 7b6d3dc17..7e2b365ce 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 45 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-636aa63c588134e6f47fc45212049593d91f810a9c7bd8d7a57810cf1b5ffc92.yml -openapi_spec_hash: c76a42d4510aeafd896bc0d596f17af4 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-fe7288ac9aa515c44238c1d931db3eb86fd0ac36cf19da2f5d15c565f48b4039.yml +openapi_spec_hash: 5339c136760ece9fa1efb9a4f7749673 config_hash: fb079ef7936611b032568661b8165f19 From 51a0bc0c27b91996d07cb14bc083ce1d4657d783 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sun, 26 Apr 2026 16:20:23 +0000 Subject: [PATCH 52/70] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 7e2b365ce..7b6d3dc17 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 45 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-fe7288ac9aa515c44238c1d931db3eb86fd0ac36cf19da2f5d15c565f48b4039.yml -openapi_spec_hash: 5339c136760ece9fa1efb9a4f7749673 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-636aa63c588134e6f47fc45212049593d91f810a9c7bd8d7a57810cf1b5ffc92.yml +openapi_spec_hash: c76a42d4510aeafd896bc0d596f17af4 config_hash: fb079ef7936611b032568661b8165f19 From 7cf89d787cd3d1f71b0904bc084165c46c4053e2 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sun, 26 Apr 2026 19:20:22 +0000 Subject: [PATCH 53/70] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 7b6d3dc17..7e2b365ce 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 45 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-636aa63c588134e6f47fc45212049593d91f810a9c7bd8d7a57810cf1b5ffc92.yml -openapi_spec_hash: c76a42d4510aeafd896bc0d596f17af4 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-fe7288ac9aa515c44238c1d931db3eb86fd0ac36cf19da2f5d15c565f48b4039.yml +openapi_spec_hash: 5339c136760ece9fa1efb9a4f7749673 config_hash: fb079ef7936611b032568661b8165f19 From 8b217b97e62303fc48f717e51f0203a923ca1560 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sun, 26 Apr 2026 20:20:23 +0000 Subject: [PATCH 54/70] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 7e2b365ce..7b6d3dc17 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 45 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-fe7288ac9aa515c44238c1d931db3eb86fd0ac36cf19da2f5d15c565f48b4039.yml -openapi_spec_hash: 5339c136760ece9fa1efb9a4f7749673 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-636aa63c588134e6f47fc45212049593d91f810a9c7bd8d7a57810cf1b5ffc92.yml +openapi_spec_hash: c76a42d4510aeafd896bc0d596f17af4 config_hash: fb079ef7936611b032568661b8165f19 From 1abd15645b383723cf8e50b47d75c756e149d2dc Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sun, 26 Apr 2026 22:20:22 +0000 Subject: [PATCH 55/70] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 7b6d3dc17..7e2b365ce 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 45 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-636aa63c588134e6f47fc45212049593d91f810a9c7bd8d7a57810cf1b5ffc92.yml -openapi_spec_hash: c76a42d4510aeafd896bc0d596f17af4 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-fe7288ac9aa515c44238c1d931db3eb86fd0ac36cf19da2f5d15c565f48b4039.yml +openapi_spec_hash: 5339c136760ece9fa1efb9a4f7749673 config_hash: fb079ef7936611b032568661b8165f19 From eb6fc8e9aae3a1094f01c2990d4dacb9ea88ce2c Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sun, 26 Apr 2026 23:20:21 +0000 Subject: [PATCH 56/70] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 7e2b365ce..7b6d3dc17 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 45 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-fe7288ac9aa515c44238c1d931db3eb86fd0ac36cf19da2f5d15c565f48b4039.yml -openapi_spec_hash: 5339c136760ece9fa1efb9a4f7749673 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-636aa63c588134e6f47fc45212049593d91f810a9c7bd8d7a57810cf1b5ffc92.yml +openapi_spec_hash: c76a42d4510aeafd896bc0d596f17af4 config_hash: fb079ef7936611b032568661b8165f19 From 34f5393830c6dd376b10201f68c2ea3ba30b68b5 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 27 Apr 2026 00:20:21 +0000 Subject: [PATCH 57/70] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 7b6d3dc17..7e2b365ce 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 45 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-636aa63c588134e6f47fc45212049593d91f810a9c7bd8d7a57810cf1b5ffc92.yml -openapi_spec_hash: c76a42d4510aeafd896bc0d596f17af4 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-fe7288ac9aa515c44238c1d931db3eb86fd0ac36cf19da2f5d15c565f48b4039.yml +openapi_spec_hash: 5339c136760ece9fa1efb9a4f7749673 config_hash: fb079ef7936611b032568661b8165f19 From 79b24118e4c20f6d576fbf83d08b14d147c3b9df Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 27 Apr 2026 01:20:20 +0000 Subject: [PATCH 58/70] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 7e2b365ce..7b6d3dc17 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 45 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-fe7288ac9aa515c44238c1d931db3eb86fd0ac36cf19da2f5d15c565f48b4039.yml -openapi_spec_hash: 5339c136760ece9fa1efb9a4f7749673 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-636aa63c588134e6f47fc45212049593d91f810a9c7bd8d7a57810cf1b5ffc92.yml +openapi_spec_hash: c76a42d4510aeafd896bc0d596f17af4 config_hash: fb079ef7936611b032568661b8165f19 From 2711a6048c08a988f259dfe54b3cf5ac7a3ddd52 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 27 Apr 2026 03:20:25 +0000 Subject: [PATCH 59/70] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 7b6d3dc17..7e2b365ce 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 45 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-636aa63c588134e6f47fc45212049593d91f810a9c7bd8d7a57810cf1b5ffc92.yml -openapi_spec_hash: c76a42d4510aeafd896bc0d596f17af4 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-fe7288ac9aa515c44238c1d931db3eb86fd0ac36cf19da2f5d15c565f48b4039.yml +openapi_spec_hash: 5339c136760ece9fa1efb9a4f7749673 config_hash: fb079ef7936611b032568661b8165f19 From 17381d38fbca20abe5ccd090e692cdd0847bb95d Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 27 Apr 2026 04:20:27 +0000 Subject: [PATCH 60/70] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 7e2b365ce..7b6d3dc17 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 45 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-fe7288ac9aa515c44238c1d931db3eb86fd0ac36cf19da2f5d15c565f48b4039.yml -openapi_spec_hash: 5339c136760ece9fa1efb9a4f7749673 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-636aa63c588134e6f47fc45212049593d91f810a9c7bd8d7a57810cf1b5ffc92.yml +openapi_spec_hash: c76a42d4510aeafd896bc0d596f17af4 config_hash: fb079ef7936611b032568661b8165f19 From 94f9a1a22fd0c1a78fceffa1cc7072fa24f08b3e Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 27 Apr 2026 05:20:24 +0000 Subject: [PATCH 61/70] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 7b6d3dc17..7e2b365ce 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 45 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-636aa63c588134e6f47fc45212049593d91f810a9c7bd8d7a57810cf1b5ffc92.yml -openapi_spec_hash: c76a42d4510aeafd896bc0d596f17af4 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-fe7288ac9aa515c44238c1d931db3eb86fd0ac36cf19da2f5d15c565f48b4039.yml +openapi_spec_hash: 5339c136760ece9fa1efb9a4f7749673 config_hash: fb079ef7936611b032568661b8165f19 From 9482149627430136426a7782654fbb7bd3c740b2 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 27 Apr 2026 07:20:27 +0000 Subject: [PATCH 62/70] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 7e2b365ce..7b6d3dc17 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 45 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-fe7288ac9aa515c44238c1d931db3eb86fd0ac36cf19da2f5d15c565f48b4039.yml -openapi_spec_hash: 5339c136760ece9fa1efb9a4f7749673 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-636aa63c588134e6f47fc45212049593d91f810a9c7bd8d7a57810cf1b5ffc92.yml +openapi_spec_hash: c76a42d4510aeafd896bc0d596f17af4 config_hash: fb079ef7936611b032568661b8165f19 From 6f9288ebbdbeb6e96d1ee7dd340c4c7df76a8d90 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 27 Apr 2026 09:20:30 +0000 Subject: [PATCH 63/70] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 7b6d3dc17..7e2b365ce 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 45 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-636aa63c588134e6f47fc45212049593d91f810a9c7bd8d7a57810cf1b5ffc92.yml -openapi_spec_hash: c76a42d4510aeafd896bc0d596f17af4 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-fe7288ac9aa515c44238c1d931db3eb86fd0ac36cf19da2f5d15c565f48b4039.yml +openapi_spec_hash: 5339c136760ece9fa1efb9a4f7749673 config_hash: fb079ef7936611b032568661b8165f19 From f787b6862c24ce660cb5d7c7ee6ecfc6279ff5a7 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 27 Apr 2026 11:20:28 +0000 Subject: [PATCH 64/70] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 7e2b365ce..7b6d3dc17 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 45 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-fe7288ac9aa515c44238c1d931db3eb86fd0ac36cf19da2f5d15c565f48b4039.yml -openapi_spec_hash: 5339c136760ece9fa1efb9a4f7749673 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-636aa63c588134e6f47fc45212049593d91f810a9c7bd8d7a57810cf1b5ffc92.yml +openapi_spec_hash: c76a42d4510aeafd896bc0d596f17af4 config_hash: fb079ef7936611b032568661b8165f19 From 117dba5f62d44f5fd054e8d83ab9c178e00ed408 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 27 Apr 2026 12:20:28 +0000 Subject: [PATCH 65/70] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 7b6d3dc17..7e2b365ce 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 45 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-636aa63c588134e6f47fc45212049593d91f810a9c7bd8d7a57810cf1b5ffc92.yml -openapi_spec_hash: c76a42d4510aeafd896bc0d596f17af4 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-fe7288ac9aa515c44238c1d931db3eb86fd0ac36cf19da2f5d15c565f48b4039.yml +openapi_spec_hash: 5339c136760ece9fa1efb9a4f7749673 config_hash: fb079ef7936611b032568661b8165f19 From cd05acef16ef0e33eebcfd9a092e0d68bf9ca621 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 27 Apr 2026 14:20:28 +0000 Subject: [PATCH 66/70] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 7e2b365ce..7b6d3dc17 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 45 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-fe7288ac9aa515c44238c1d931db3eb86fd0ac36cf19da2f5d15c565f48b4039.yml -openapi_spec_hash: 5339c136760ece9fa1efb9a4f7749673 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-636aa63c588134e6f47fc45212049593d91f810a9c7bd8d7a57810cf1b5ffc92.yml +openapi_spec_hash: c76a42d4510aeafd896bc0d596f17af4 config_hash: fb079ef7936611b032568661b8165f19 From 44078f417c347b031933c6f6faae40b7681deb5f Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 27 Apr 2026 14:59:18 +0000 Subject: [PATCH 67/70] fix: use correct field name format for multipart file arrays --- src/agentex/_qs.py | 8 ++----- src/agentex/_types.py | 3 +++ src/agentex/_utils/_utils.py | 42 +++++++++++++++++++++++++++++------- tests/test_extract_files.py | 28 +++++++++++++++++++----- tests/test_files.py | 2 +- 5 files changed, 63 insertions(+), 20 deletions(-) diff --git a/src/agentex/_qs.py b/src/agentex/_qs.py index de8c99bc6..4127c19c6 100644 --- a/src/agentex/_qs.py +++ b/src/agentex/_qs.py @@ -2,17 +2,13 @@ from typing import Any, List, Tuple, Union, Mapping, TypeVar from urllib.parse import parse_qs, urlencode -from typing_extensions import Literal, get_args +from typing_extensions import get_args -from ._types import NotGiven, not_given +from ._types import NotGiven, ArrayFormat, NestedFormat, not_given from ._utils import flatten _T = TypeVar("_T") - -ArrayFormat = Literal["comma", "repeat", "indices", "brackets"] -NestedFormat = Literal["dots", "brackets"] - PrimitiveData = Union[str, int, float, bool, None] # this should be Data = Union[PrimitiveData, "List[Data]", "Tuple[Data]", "Mapping[str, Data]"] # https://github.com/microsoft/pyright/issues/3555 diff --git a/src/agentex/_types.py b/src/agentex/_types.py index f9c107dc3..3b662b594 100644 --- a/src/agentex/_types.py +++ b/src/agentex/_types.py @@ -47,6 +47,9 @@ ModelT = TypeVar("ModelT", bound=pydantic.BaseModel) _T = TypeVar("_T") +ArrayFormat = Literal["comma", "repeat", "indices", "brackets"] +NestedFormat = Literal["dots", "brackets"] + # Approximates httpx internal ProxiesTypes and RequestFiles types # while adding support for `PathLike` instances diff --git a/src/agentex/_utils/_utils.py b/src/agentex/_utils/_utils.py index 771859f5e..199cd231f 100644 --- a/src/agentex/_utils/_utils.py +++ b/src/agentex/_utils/_utils.py @@ -17,11 +17,11 @@ ) from pathlib import Path from datetime import date, datetime -from typing_extensions import TypeGuard +from typing_extensions import TypeGuard, get_args import sniffio -from .._types import Omit, NotGiven, FileTypes, HeadersLike +from .._types import Omit, NotGiven, FileTypes, ArrayFormat, HeadersLike _T = TypeVar("_T") _TupleT = TypeVar("_TupleT", bound=Tuple[object, ...]) @@ -40,25 +40,45 @@ def extract_files( query: Mapping[str, object], *, paths: Sequence[Sequence[str]], + array_format: ArrayFormat = "brackets", ) -> list[tuple[str, FileTypes]]: """Recursively extract files from the given dictionary based on specified paths. A path may look like this ['foo', 'files', '', 'data']. + ``array_format`` controls how ```` segments contribute to the emitted + field name. Supported values: ``"brackets"`` (``foo[]``), ``"repeat"`` and + ``"comma"`` (``foo``), ``"indices"`` (``foo[0]``, ``foo[1]``). + Note: this mutates the given dictionary. """ files: list[tuple[str, FileTypes]] = [] for path in paths: - files.extend(_extract_items(query, path, index=0, flattened_key=None)) + files.extend(_extract_items(query, path, index=0, flattened_key=None, array_format=array_format)) return files +def _array_suffix(array_format: ArrayFormat, array_index: int) -> str: + if array_format == "brackets": + return "[]" + if array_format == "indices": + return f"[{array_index}]" + if array_format == "repeat" or array_format == "comma": + # Both repeat the bare field name for each file part; there is no + # meaningful way to comma-join binary parts. + return "" + raise NotImplementedError( + f"Unknown array_format value: {array_format}, choose from {', '.join(get_args(ArrayFormat))}" + ) + + def _extract_items( obj: object, path: Sequence[str], *, index: int, flattened_key: str | None, + array_format: ArrayFormat, ) -> list[tuple[str, FileTypes]]: try: key = path[index] @@ -75,9 +95,11 @@ def _extract_items( if is_list(obj): files: list[tuple[str, FileTypes]] = [] - for entry in obj: - assert_is_file_content(entry, key=flattened_key + "[]" if flattened_key else "") - files.append((flattened_key + "[]", cast(FileTypes, entry))) + for array_index, entry in enumerate(obj): + suffix = _array_suffix(array_format, array_index) + emitted_key = (flattened_key + suffix) if flattened_key else suffix + assert_is_file_content(entry, key=emitted_key) + files.append((emitted_key, cast(FileTypes, entry))) return files assert_is_file_content(obj, key=flattened_key) @@ -106,6 +128,7 @@ def _extract_items( path, index=index, flattened_key=flattened_key, + array_format=array_format, ) elif is_list(obj): if key != "": @@ -117,9 +140,12 @@ def _extract_items( item, path, index=index, - flattened_key=flattened_key + "[]" if flattened_key is not None else "[]", + flattened_key=( + (flattened_key if flattened_key is not None else "") + _array_suffix(array_format, array_index) + ), + array_format=array_format, ) - for item in obj + for array_index, item in enumerate(obj) ] ) diff --git a/tests/test_extract_files.py b/tests/test_extract_files.py index 9c32b2a52..fabb0f3c2 100644 --- a/tests/test_extract_files.py +++ b/tests/test_extract_files.py @@ -4,7 +4,7 @@ import pytest -from agentex._types import FileTypes +from agentex._types import FileTypes, ArrayFormat from agentex._utils import extract_files @@ -37,10 +37,7 @@ def test_multiple_files() -> None: def test_top_level_file_array() -> None: query = {"files": [b"file one", b"file two"], "title": "hello"} - assert extract_files(query, paths=[["files", ""]]) == [ - ("files[]", b"file one"), - ("files[]", b"file two"), - ] + assert extract_files(query, paths=[["files", ""]]) == [("files[]", b"file one"), ("files[]", b"file two")] assert query == {"title": "hello"} @@ -71,3 +68,24 @@ def test_ignores_incorrect_paths( expected: list[tuple[str, FileTypes]], ) -> None: assert extract_files(query, paths=paths) == expected + + +@pytest.mark.parametrize( + "array_format,expected_top_level,expected_nested", + [ + ("brackets", [("files[]", b"a"), ("files[]", b"b")], [("items[][file]", b"a"), ("items[][file]", b"b")]), + ("repeat", [("files", b"a"), ("files", b"b")], [("items[file]", b"a"), ("items[file]", b"b")]), + ("comma", [("files", b"a"), ("files", b"b")], [("items[file]", b"a"), ("items[file]", b"b")]), + ("indices", [("files[0]", b"a"), ("files[1]", b"b")], [("items[0][file]", b"a"), ("items[1][file]", b"b")]), + ], +) +def test_array_format_controls_file_field_names( + array_format: ArrayFormat, + expected_top_level: list[tuple[str, FileTypes]], + expected_nested: list[tuple[str, FileTypes]], +) -> None: + top_level = {"files": [b"a", b"b"]} + assert extract_files(top_level, paths=[["files", ""]], array_format=array_format) == expected_top_level + + nested = {"items": [{"file": b"a"}, {"file": b"b"}]} + assert extract_files(nested, paths=[["items", "", "file"]], array_format=array_format) == expected_nested diff --git a/tests/test_files.py b/tests/test_files.py index fe5c22590..947bc6a51 100644 --- a/tests/test_files.py +++ b/tests/test_files.py @@ -131,7 +131,7 @@ def test_extract_files_does_not_mutate_original_nested_array_path(self) -> None: copied = deepcopy_with_paths(original, [["items", "", "file"]]) extracted = extract_files(copied, paths=[["items", "", "file"]]) - assert extracted == [("items[][file]", file1), ("items[][file]", file2)] + assert [entry for _, entry in extracted] == [file1, file2] assert original == { "items": [ {"file": file1, "extra": 1}, From 22b2b7d4f366f9304563d06ec4501b6fb8c5fb8e Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 27 Apr 2026 15:20:31 +0000 Subject: [PATCH 68/70] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 7b6d3dc17..7e2b365ce 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 45 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-636aa63c588134e6f47fc45212049593d91f810a9c7bd8d7a57810cf1b5ffc92.yml -openapi_spec_hash: c76a42d4510aeafd896bc0d596f17af4 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-fe7288ac9aa515c44238c1d931db3eb86fd0ac36cf19da2f5d15c565f48b4039.yml +openapi_spec_hash: 5339c136760ece9fa1efb9a4f7749673 config_hash: fb079ef7936611b032568661b8165f19 From c0b957807931357c0300a1394eedd9b787681f6d Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 27 Apr 2026 17:20:28 +0000 Subject: [PATCH 69/70] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 7e2b365ce..7b6d3dc17 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 45 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-fe7288ac9aa515c44238c1d931db3eb86fd0ac36cf19da2f5d15c565f48b4039.yml -openapi_spec_hash: 5339c136760ece9fa1efb9a4f7749673 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-636aa63c588134e6f47fc45212049593d91f810a9c7bd8d7a57810cf1b5ffc92.yml +openapi_spec_hash: c76a42d4510aeafd896bc0d596f17af4 config_hash: fb079ef7936611b032568661b8165f19 From 08e41f5bf8f7dc19b62dd1d5a4f30d9eb084bfbb Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 27 Apr 2026 17:21:15 +0000 Subject: [PATCH 70/70] release: 0.11.0 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 18 ++++++++++++++++++ pyproject.toml | 2 +- src/agentex/_version.py | 2 +- 4 files changed, 21 insertions(+), 3 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 582db2fa7..78e7f271d 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.10.2" + ".": "0.11.0" } diff --git a/CHANGELOG.md b/CHANGELOG.md index 536753e33..addaa66dc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,23 @@ # Changelog +## 0.11.0 (2026-04-27) + +Full Changelog: [v0.10.2...v0.11.0](https://github.com/scaleapi/scale-agentex-python/compare/v0.10.2...v0.11.0) + +### Features + +* **api:** api update ([cd7c9b7](https://github.com/scaleapi/scale-agentex-python/commit/cd7c9b76a28f61d95c1c9f5477048c85f7e9f277)) + + +### Bug Fixes + +* use correct field name format for multipart file arrays ([44078f4](https://github.com/scaleapi/scale-agentex-python/commit/44078f417c347b031933c6f6faae40b7681deb5f)) + + +### Chores + +* **internal:** more robust bootstrap script ([dd59283](https://github.com/scaleapi/scale-agentex-python/commit/dd592831d5d0304cf2c585b8a995ac4a8c407773)) + ## 0.10.2 (2026-04-21) Full Changelog: [v0.10.1...v0.10.2](https://github.com/scaleapi/scale-agentex-python/compare/v0.10.1...v0.10.2) diff --git a/pyproject.toml b/pyproject.toml index a1851c1ac..64a16d5b3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "agentex-sdk" -version = "0.10.2" +version = "0.11.0" description = "The official Python library for the agentex API" dynamic = ["readme"] license = "Apache-2.0" diff --git a/src/agentex/_version.py b/src/agentex/_version.py index 5d881e84d..59720802a 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.10.2" # x-release-please-version +__version__ = "0.11.0" # x-release-please-version