Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
8af4776
codegen metadata
stainless-app[bot] Apr 8, 2026
1d21838
codegen metadata
stainless-app[bot] Apr 8, 2026
7a934e4
codegen metadata
stainless-app[bot] Apr 8, 2026
3ab7490
codegen metadata
stainless-app[bot] Apr 8, 2026
9ff52e7
codegen metadata
stainless-app[bot] Apr 8, 2026
d51a724
codegen metadata
stainless-app[bot] Apr 8, 2026
fbcb0bf
codegen metadata
stainless-app[bot] Apr 8, 2026
fc38062
codegen metadata
stainless-app[bot] Apr 8, 2026
341cb66
codegen metadata
stainless-app[bot] Apr 8, 2026
953f493
codegen metadata
stainless-app[bot] Apr 8, 2026
c970283
codegen metadata
stainless-app[bot] Apr 8, 2026
0af1352
codegen metadata
stainless-app[bot] Apr 8, 2026
09fa3e7
codegen metadata
stainless-app[bot] Apr 8, 2026
308f789
codegen metadata
stainless-app[bot] Apr 8, 2026
aac2413
codegen metadata
stainless-app[bot] Apr 8, 2026
6f85e7b
codegen metadata
stainless-app[bot] Apr 8, 2026
7c7a306
codegen metadata
stainless-app[bot] Apr 8, 2026
4e36ca5
codegen metadata
stainless-app[bot] Apr 9, 2026
ee9ef28
codegen metadata
stainless-app[bot] Apr 9, 2026
9473788
codegen metadata
stainless-app[bot] Apr 9, 2026
b0b23f6
codegen metadata
stainless-app[bot] Apr 9, 2026
dcf6fde
codegen metadata
stainless-app[bot] Apr 9, 2026
7b0ea69
codegen metadata
stainless-app[bot] Apr 9, 2026
3ae6405
codegen metadata
stainless-app[bot] Apr 9, 2026
5a01c1c
codegen metadata
stainless-app[bot] Apr 9, 2026
0ed71a9
feat(api): api update
stainless-app[bot] Apr 9, 2026
1574012
codegen metadata
stainless-app[bot] Apr 9, 2026
9ec7126
codegen metadata
stainless-app[bot] Apr 9, 2026
996aaa6
codegen metadata
stainless-app[bot] Apr 9, 2026
00ef83f
codegen metadata
stainless-app[bot] Apr 10, 2026
ee47bab
codegen metadata
stainless-app[bot] Apr 10, 2026
dea857a
fix: ensure file data are only sent as 1 parameter
stainless-app[bot] Apr 10, 2026
036cd20
codegen metadata
stainless-app[bot] Apr 10, 2026
5618caf
codegen metadata
stainless-app[bot] Apr 10, 2026
e0e7073
release: 0.10.0
stainless-app[bot] Apr 10, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.9.10"
".": "0.10.0"
}
4 changes: 2 additions & 2 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 45
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-5fa3cb3c867281c804913c7c3e6d2143b5606d4924d42119f4b2b246f33e3db3.yml
openapi_spec_hash: 7372cd7b99d93e200d7b9a63440cdc6f
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-636aa63c588134e6f47fc45212049593d91f810a9c7bd8d7a57810cf1b5ffc92.yml
openapi_spec_hash: c76a42d4510aeafd896bc0d596f17af4
config_hash: fb079ef7936611b032568661b8165f19
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# Changelog

## 0.10.0 (2026-04-10)

Full Changelog: [v0.9.10...v0.10.0](https://github.com/scaleapi/scale-agentex-python/compare/v0.9.10...v0.10.0)

### Features

* add AgentCard for self-describing agent capabilities ([#296](https://github.com/scaleapi/scale-agentex-python/issues/296)) ([6509be1](https://github.com/scaleapi/scale-agentex-python/commit/6509be1e5d9bc53e6058b22c45c760e04a4c4006))
* **api:** api update ([0ed71a9](https://github.com/scaleapi/scale-agentex-python/commit/0ed71a97249478a35cddcd79ec39cae4d531fc6d))


### Bug Fixes

* ensure file data are only sent as 1 parameter ([dea857a](https://github.com/scaleapi/scale-agentex-python/commit/dea857a5a18363ba1aae4ae699069331d4f7280d))

## 0.9.10 (2026-04-07)

Full Changelog: [v0.9.9...v0.9.10](https://github.com/scaleapi/scale-agentex-python/compare/v0.9.9...v0.9.10)
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "agentex-sdk"
version = "0.9.10"
version = "0.10.0"
description = "The official Python library for the agentex API"
dynamic = ["readme"]
license = "Apache-2.0"
Expand Down
5 changes: 3 additions & 2 deletions src/agentex/_utils/_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,9 @@ def _extract_items(
index += 1
if is_dict(obj):
try:
# We are at the last entry in the path so we must remove the field
if (len(path)) == index:
# Remove the field if there are no more dict keys in the path,
# only "<array>" traversal markers or end.
if all(p == "<array>" for p in path[index:]):
item = obj.pop(key)
else:
item = obj[key]
Expand Down
2 changes: 1 addition & 1 deletion src/agentex/_version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

__title__ = "agentex"
__version__ = "0.9.10" # x-release-please-version
__version__ = "0.10.0" # x-release-please-version
3 changes: 3 additions & 0 deletions src/agentex/types/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ class Agent(BaseModel):
agent_input_type: Optional[Literal["text", "json"]] = None
"""The type of input the agent expects."""

production_deployment_id: Optional[str] = None
"""ID of the current production deployment."""

registered_at: Optional[datetime] = None
"""The timestamp when the agent was last registered"""

Expand Down
9 changes: 9 additions & 0 deletions tests/test_extract_files.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,15 @@ def test_multiple_files() -> None:
assert query == {"documents": [{}, {}]}


def test_top_level_file_array() -> None:
query = {"files": [b"file one", b"file two"], "title": "hello"}
assert extract_files(query, paths=[["files", "<array>"]]) == [
("files[]", b"file one"),
("files[]", b"file two"),
]
assert query == {"title": "hello"}


@pytest.mark.parametrize(
"query,paths,expected",
[
Expand Down
Loading