Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
268 commits
Select commit Hold shift + click to select a range
856a9ff
codegen metadata
stainless-app[bot] Sep 18, 2025
a0d4659
codegen metadata
stainless-app[bot] Sep 18, 2025
63d70a9
codegen metadata
stainless-app[bot] Sep 18, 2025
1036caf
codegen metadata
stainless-app[bot] Sep 18, 2025
2117d77
chore(types): change optional parameter type from NotGiven to Omit
stainless-app[bot] Sep 18, 2025
3240e9c
codegen metadata
stainless-app[bot] Sep 18, 2025
a431860
codegen metadata
stainless-app[bot] Sep 18, 2025
7742251
codegen metadata
stainless-app[bot] Sep 18, 2025
d048c0e
codegen metadata
stainless-app[bot] Sep 18, 2025
13d804b
codegen metadata
stainless-app[bot] Sep 18, 2025
5338d6d
codegen metadata
stainless-app[bot] Sep 18, 2025
a95f1c1
codegen metadata
stainless-app[bot] Sep 18, 2025
e43fa8d
codegen metadata
stainless-app[bot] Sep 18, 2025
89108fb
codegen metadata
stainless-app[bot] Sep 19, 2025
32df4d0
codegen metadata
stainless-app[bot] Sep 19, 2025
5fbb19a
codegen metadata
stainless-app[bot] Sep 19, 2025
4777216
codegen metadata
stainless-app[bot] Sep 19, 2025
b71f5b9
codegen metadata
stainless-app[bot] Sep 19, 2025
5c1fdb5
codegen metadata
stainless-app[bot] Sep 19, 2025
4f0961d
codegen metadata
stainless-app[bot] Sep 19, 2025
5777cdf
codegen metadata
stainless-app[bot] Sep 19, 2025
478530b
codegen metadata
stainless-app[bot] Sep 19, 2025
de0fa42
codegen metadata
stainless-app[bot] Sep 19, 2025
89bb996
codegen metadata
stainless-app[bot] Sep 19, 2025
2675e14
chore: do not install brew dependencies in ./scripts/bootstrap by def…
stainless-app[bot] Sep 19, 2025
f189aab
codegen metadata
stainless-app[bot] Sep 19, 2025
42a505e
codegen metadata
stainless-app[bot] Sep 19, 2025
657e9ee
codegen metadata
stainless-app[bot] Sep 20, 2025
7679dc8
codegen metadata
stainless-app[bot] Sep 20, 2025
c20c2fb
codegen metadata
stainless-app[bot] Sep 20, 2025
5f6a8de
codegen metadata
stainless-app[bot] Sep 20, 2025
40a3603
codegen metadata
stainless-app[bot] Sep 20, 2025
e826d16
codegen metadata
stainless-app[bot] Sep 20, 2025
d15b095
codegen metadata
stainless-app[bot] Sep 20, 2025
aa05a84
codegen metadata
stainless-app[bot] Sep 20, 2025
21b1b16
codegen metadata
stainless-app[bot] Sep 20, 2025
26a7881
codegen metadata
stainless-app[bot] Sep 20, 2025
80ec11b
codegen metadata
stainless-app[bot] Sep 20, 2025
e88aecd
codegen metadata
stainless-app[bot] Sep 20, 2025
8d1172f
codegen metadata
stainless-app[bot] Sep 21, 2025
8dcd5b8
codegen metadata
stainless-app[bot] Sep 21, 2025
b3f02a9
codegen metadata
stainless-app[bot] Sep 21, 2025
62a60ca
codegen metadata
stainless-app[bot] Sep 21, 2025
4ec9ba9
codegen metadata
stainless-app[bot] Sep 21, 2025
9f349e7
codegen metadata
stainless-app[bot] Sep 21, 2025
acc4fb3
codegen metadata
stainless-app[bot] Sep 21, 2025
b2fd174
codegen metadata
stainless-app[bot] Sep 21, 2025
c9896c9
codegen metadata
stainless-app[bot] Sep 21, 2025
e4d53b0
codegen metadata
stainless-app[bot] Sep 21, 2025
a61da85
codegen metadata
stainless-app[bot] Sep 21, 2025
38c70bf
codegen metadata
stainless-app[bot] Sep 21, 2025
c9e5cfc
codegen metadata
stainless-app[bot] Sep 21, 2025
2000843
codegen metadata
stainless-app[bot] Sep 21, 2025
0b8d719
codegen metadata
stainless-app[bot] Sep 22, 2025
b73c66d
codegen metadata
stainless-app[bot] Sep 22, 2025
ea19a8d
codegen metadata
stainless-app[bot] Sep 22, 2025
d6f6d5c
codegen metadata
stainless-app[bot] Sep 22, 2025
e0098b0
codegen metadata
stainless-app[bot] Sep 22, 2025
e0e7e79
codegen metadata
stainless-app[bot] Sep 22, 2025
8b085f5
codegen metadata
stainless-app[bot] Sep 22, 2025
ea1899a
codegen metadata
stainless-app[bot] Sep 22, 2025
f3f95fa
codegen metadata
stainless-app[bot] Sep 22, 2025
1a5a1a7
codegen metadata
stainless-app[bot] Sep 22, 2025
9501207
codegen metadata
stainless-app[bot] Sep 22, 2025
41ac323
codegen metadata
stainless-app[bot] Sep 22, 2025
20d00f9
codegen metadata
stainless-app[bot] Sep 22, 2025
6997fe5
chore: improve example values
stainless-app[bot] Sep 22, 2025
6a9963f
codegen metadata
stainless-app[bot] Sep 22, 2025
31cedd9
codegen metadata
stainless-app[bot] Sep 22, 2025
74fae88
codegen metadata
stainless-app[bot] Sep 23, 2025
11d5b23
codegen metadata
stainless-app[bot] Sep 23, 2025
b98387a
codegen metadata
stainless-app[bot] Sep 23, 2025
20517eb
codegen metadata
stainless-app[bot] Sep 23, 2025
d4f2432
codegen metadata
stainless-app[bot] Sep 23, 2025
e8ab808
codegen metadata
stainless-app[bot] Sep 23, 2025
af4120d
codegen metadata
stainless-app[bot] Sep 23, 2025
cea3792
codegen metadata
stainless-app[bot] Sep 23, 2025
ceeeb0d
codegen metadata
stainless-app[bot] Sep 23, 2025
ed7f70a
codegen metadata
stainless-app[bot] Sep 23, 2025
e28c963
codegen metadata
stainless-app[bot] Sep 23, 2025
98c6a68
codegen metadata
stainless-app[bot] Sep 23, 2025
e75e7e4
codegen metadata
stainless-app[bot] Sep 23, 2025
0ec3559
codegen metadata
stainless-app[bot] Sep 23, 2025
e408567
codegen metadata
stainless-app[bot] Sep 24, 2025
7ff8fa8
codegen metadata
stainless-app[bot] Sep 24, 2025
8c3d381
codegen metadata
stainless-app[bot] Sep 24, 2025
e958cad
codegen metadata
stainless-app[bot] Sep 24, 2025
37ca102
codegen metadata
stainless-app[bot] Sep 24, 2025
9fa5322
codegen metadata
stainless-app[bot] Sep 24, 2025
ee9135e
codegen metadata
stainless-app[bot] Sep 24, 2025
6f63512
codegen metadata
stainless-app[bot] Sep 24, 2025
85ec72c
codegen metadata
stainless-app[bot] Sep 24, 2025
a415d98
codegen metadata
stainless-app[bot] Sep 24, 2025
4a3f74a
codegen metadata
stainless-app[bot] Sep 24, 2025
d00d0dd
codegen metadata
stainless-app[bot] Sep 24, 2025
febe336
codegen metadata
stainless-app[bot] Sep 25, 2025
fafafd3
codegen metadata
stainless-app[bot] Sep 25, 2025
4b241b7
codegen metadata
stainless-app[bot] Sep 25, 2025
d790f2d
codegen metadata
stainless-app[bot] Sep 25, 2025
547375f
codegen metadata
stainless-app[bot] Sep 25, 2025
255c580
codegen metadata
stainless-app[bot] Sep 25, 2025
1e98f60
codegen metadata
stainless-app[bot] Sep 25, 2025
67f9af6
codegen metadata
stainless-app[bot] Sep 25, 2025
5fec041
codegen metadata
stainless-app[bot] Sep 25, 2025
a6d3b90
codegen metadata
stainless-app[bot] Sep 25, 2025
19287f2
codegen metadata
stainless-app[bot] Sep 25, 2025
2fb91e1
codegen metadata
stainless-app[bot] Sep 25, 2025
d666a0a
codegen metadata
stainless-app[bot] Sep 26, 2025
750b7ec
codegen metadata
stainless-app[bot] Sep 26, 2025
cfeb0ca
codegen metadata
stainless-app[bot] Sep 26, 2025
2c98b00
codegen metadata
stainless-app[bot] Sep 26, 2025
c5ab052
codegen metadata
stainless-app[bot] Sep 26, 2025
cbdf764
codegen metadata
stainless-app[bot] Sep 26, 2025
4ad223e
codegen metadata
stainless-app[bot] Sep 26, 2025
bb4e099
codegen metadata
stainless-app[bot] Sep 26, 2025
c897359
codegen metadata
stainless-app[bot] Sep 26, 2025
5c8217d
codegen metadata
stainless-app[bot] Sep 26, 2025
3b00a36
codegen metadata
stainless-app[bot] Sep 26, 2025
8925a17
codegen metadata
stainless-app[bot] Sep 26, 2025
73bba2a
chore(internal): version bump
stainless-app[bot] Sep 29, 2025
aa2a8db
chore(internal): version bump
stainless-app[bot] Sep 29, 2025
feffb0a
codegen metadata
stainless-app[bot] Sep 30, 2025
bf4dde0
codegen metadata
stainless-app[bot] Sep 30, 2025
908f3fd
codegen metadata
stainless-app[bot] Sep 30, 2025
347bcc5
codegen metadata
stainless-app[bot] Oct 1, 2025
c1df0dc
codegen metadata
stainless-app[bot] Oct 1, 2025
3c81ea9
codegen metadata
stainless-app[bot] Oct 1, 2025
c3692fd
codegen metadata
stainless-app[bot] Oct 1, 2025
98354ba
chore(internal): version bump
stainless-app[bot] Oct 1, 2025
c0e70df
codegen metadata
stainless-app[bot] Oct 1, 2025
322d2c8
codegen metadata
stainless-app[bot] Oct 2, 2025
4dcbb3c
codegen metadata
stainless-app[bot] Oct 2, 2025
869b663
codegen metadata
stainless-app[bot] Oct 2, 2025
cae2cff
codegen metadata
stainless-app[bot] Oct 2, 2025
c9f8ebf
codegen metadata
stainless-app[bot] Oct 2, 2025
cc8dc86
codegen metadata
stainless-app[bot] Oct 2, 2025
921d67b
codegen metadata
stainless-app[bot] Oct 2, 2025
391ba9f
codegen metadata
stainless-app[bot] Oct 2, 2025
dec104f
codegen metadata
stainless-app[bot] Oct 2, 2025
45062d8
codegen metadata
stainless-app[bot] Oct 2, 2025
12285e0
codegen metadata
stainless-app[bot] Oct 2, 2025
1065d73
codegen metadata
stainless-app[bot] Oct 2, 2025
0b51bb2
codegen metadata
stainless-app[bot] Oct 2, 2025
e731343
codegen metadata
stainless-app[bot] Oct 2, 2025
ccc6503
codegen metadata
stainless-app[bot] Oct 3, 2025
269285d
codegen metadata
stainless-app[bot] Oct 3, 2025
a850518
codegen metadata
stainless-app[bot] Oct 3, 2025
974f0e9
codegen metadata
stainless-app[bot] Oct 3, 2025
0552151
codegen metadata
stainless-app[bot] Oct 3, 2025
0ebff6d
codegen metadata
stainless-app[bot] Oct 3, 2025
4be25d4
codegen metadata
stainless-app[bot] Oct 3, 2025
a25dacb
codegen metadata
stainless-app[bot] Oct 3, 2025
82a3b7b
codegen metadata
stainless-app[bot] Oct 3, 2025
74e5f14
codegen metadata
stainless-app[bot] Oct 3, 2025
66cb85a
codegen metadata
stainless-app[bot] Oct 3, 2025
87daff8
codegen metadata
stainless-app[bot] Oct 4, 2025
54e1f2e
codegen metadata
stainless-app[bot] Oct 4, 2025
d3f0212
codegen metadata
stainless-app[bot] Oct 4, 2025
20b2c8a
codegen metadata
stainless-app[bot] Oct 4, 2025
7724bb8
codegen metadata
stainless-app[bot] Oct 4, 2025
a1a0a7d
codegen metadata
stainless-app[bot] Oct 4, 2025
21ab974
codegen metadata
stainless-app[bot] Oct 4, 2025
4d6b6e7
codegen metadata
stainless-app[bot] Oct 4, 2025
024391d
codegen metadata
stainless-app[bot] Oct 4, 2025
cd097c1
codegen metadata
stainless-app[bot] Oct 4, 2025
47895ef
codegen metadata
stainless-app[bot] Oct 4, 2025
2ec5d6b
codegen metadata
stainless-app[bot] Oct 4, 2025
3bda647
codegen metadata
stainless-app[bot] Oct 4, 2025
1221c89
codegen metadata
stainless-app[bot] Oct 4, 2025
7d39eb7
codegen metadata
stainless-app[bot] Oct 5, 2025
31c6115
codegen metadata
stainless-app[bot] Oct 5, 2025
ba46645
codegen metadata
stainless-app[bot] Oct 5, 2025
67c994d
codegen metadata
stainless-app[bot] Oct 5, 2025
982dbbd
codegen metadata
stainless-app[bot] Oct 5, 2025
563d1c5
codegen metadata
stainless-app[bot] Oct 5, 2025
44e2118
codegen metadata
stainless-app[bot] Oct 5, 2025
6f47edc
codegen metadata
stainless-app[bot] Oct 5, 2025
da12b27
codegen metadata
stainless-app[bot] Oct 5, 2025
69125fb
codegen metadata
stainless-app[bot] Oct 5, 2025
0f2bcb4
codegen metadata
stainless-app[bot] Oct 5, 2025
45fa990
codegen metadata
stainless-app[bot] Oct 5, 2025
6dc397e
codegen metadata
stainless-app[bot] Oct 5, 2025
5144ee8
codegen metadata
stainless-app[bot] Oct 5, 2025
91be155
codegen metadata
stainless-app[bot] Oct 6, 2025
998548e
codegen metadata
stainless-app[bot] Oct 6, 2025
09b9df2
codegen metadata
stainless-app[bot] Oct 6, 2025
fac2fa3
codegen metadata
stainless-app[bot] Oct 6, 2025
efec513
codegen metadata
stainless-app[bot] Oct 6, 2025
e72cc75
codegen metadata
stainless-app[bot] Oct 6, 2025
e22528f
codegen metadata
stainless-app[bot] Oct 6, 2025
6cab15c
codegen metadata
stainless-app[bot] Oct 6, 2025
0871a5f
codegen metadata
stainless-app[bot] Oct 6, 2025
b70e797
codegen metadata
stainless-app[bot] Oct 6, 2025
8e73ee8
codegen metadata
stainless-app[bot] Oct 6, 2025
59eb1a6
codegen metadata
stainless-app[bot] Oct 6, 2025
e2b5252
codegen metadata
stainless-app[bot] Oct 6, 2025
5e68881
codegen metadata
stainless-app[bot] Oct 6, 2025
b4a5e73
codegen metadata
stainless-app[bot] Oct 6, 2025
eea73aa
codegen metadata
stainless-app[bot] Oct 7, 2025
3229ec1
codegen metadata
stainless-app[bot] Oct 7, 2025
baa92cd
codegen metadata
stainless-app[bot] Oct 7, 2025
350c552
codegen metadata
stainless-app[bot] Oct 7, 2025
c3923b0
codegen metadata
stainless-app[bot] Oct 7, 2025
f16becc
codegen metadata
stainless-app[bot] Oct 7, 2025
82e8faf
codegen metadata
stainless-app[bot] Oct 7, 2025
26968d5
codegen metadata
stainless-app[bot] Oct 7, 2025
6d55b17
codegen metadata
stainless-app[bot] Oct 7, 2025
cb8a12d
codegen metadata
stainless-app[bot] Oct 7, 2025
d3ec80a
codegen metadata
stainless-app[bot] Oct 7, 2025
089cca2
codegen metadata
stainless-app[bot] Oct 7, 2025
de6692f
codegen metadata
stainless-app[bot] Oct 7, 2025
5ddfcf6
codegen metadata
stainless-app[bot] Oct 8, 2025
b71ef78
codegen metadata
stainless-app[bot] Oct 8, 2025
e7cc926
codegen metadata
stainless-app[bot] Oct 8, 2025
503a01d
codegen metadata
stainless-app[bot] Oct 8, 2025
ba0755c
codegen metadata
stainless-app[bot] Oct 8, 2025
607d8f8
codegen metadata
stainless-app[bot] Oct 8, 2025
107c14c
codegen metadata
stainless-app[bot] Oct 8, 2025
016f3f7
codegen metadata
stainless-app[bot] Oct 8, 2025
e2ef718
codegen metadata
stainless-app[bot] Oct 8, 2025
23cf14b
codegen metadata
stainless-app[bot] Oct 8, 2025
6bf22bf
codegen metadata
stainless-app[bot] Oct 8, 2025
09996ea
feat(api): manual updates
stainless-app[bot] Oct 8, 2025
46f8877
codegen metadata
stainless-app[bot] Oct 8, 2025
f3b0e2a
codegen metadata
stainless-app[bot] Oct 8, 2025
4adf050
codegen metadata
stainless-app[bot] Oct 8, 2025
5e8b2d5
codegen metadata
stainless-app[bot] Oct 9, 2025
bedebf6
codegen metadata
stainless-app[bot] Oct 9, 2025
9bbf47f
codegen metadata
stainless-app[bot] Oct 9, 2025
111daaa
codegen metadata
stainless-app[bot] Oct 9, 2025
b092373
codegen metadata
stainless-app[bot] Oct 9, 2025
42fd383
codegen metadata
stainless-app[bot] Oct 9, 2025
23e8d3c
codegen metadata
stainless-app[bot] Oct 9, 2025
8108beb
codegen metadata
stainless-app[bot] Oct 9, 2025
dd52a0b
codegen metadata
stainless-app[bot] Oct 9, 2025
4c720b4
codegen metadata
stainless-app[bot] Oct 9, 2025
f180c3e
codegen metadata
stainless-app[bot] Oct 9, 2025
ab127a3
codegen metadata
stainless-app[bot] Oct 10, 2025
1738bde
codegen metadata
stainless-app[bot] Oct 10, 2025
6a9442b
codegen metadata
stainless-app[bot] Oct 10, 2025
ffc545b
codegen metadata
stainless-app[bot] Oct 10, 2025
5050ba4
codegen metadata
stainless-app[bot] Oct 10, 2025
f802ada
codegen metadata
stainless-app[bot] Oct 10, 2025
f1aa71f
chore(internal): detect missing future annotations with ruff
stainless-app[bot] Oct 10, 2025
cd30ee6
codegen metadata
stainless-app[bot] Oct 10, 2025
51d7ed3
codegen metadata
stainless-app[bot] Oct 10, 2025
a3ea564
codegen metadata
stainless-app[bot] Oct 10, 2025
45206dd
chore(internal): version bump
stainless-app[bot] Sep 29, 2025
8567752
chore(internal): version bump
stainless-app[bot] Oct 1, 2025
7cdb33a
release: 0.4.24
stainless-app[bot] Oct 10, 2025
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.4.23"
".": "0.4.24"
}
6 changes: 3 additions & 3 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 34
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-76382de80057321dae48471054ca469af8b5b5b1b0b252e92fd70d7a9998dd6d.yml
openapi_spec_hash: c1e34098e62dee3304ba1d49233e4e9d
config_hash: aeabb3a919ad2763f5d0f41961a2520a
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-24426221ca34bef99c2533d049fc93a3b28718229d79339ff4a6f613a4f44ef6.yml
openapi_spec_hash: cb4a09c023345455749bfc45040951d6
config_hash: 6481ea6b42040f435dedcb00a98f35f8
27 changes: 27 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,32 @@
# Changelog

## 0.4.24 (2025-10-10)

Full Changelog: [v0.4.23...v0.4.24](https://github.com/scaleapi/agentex-python/compare/v0.4.23...v0.4.24)

### Features

* **api:** manual updates ([09996ea](https://github.com/scaleapi/agentex-python/commit/09996ea688a7225670bdd9d944b64801fac7acce))


### Bug Fixes

* health check port handling ([#138](https://github.com/scaleapi/agentex-python/issues/138)) ([fe22301](https://github.com/scaleapi/agentex-python/commit/fe223012db49768f38c4de56b5d5744031b631d1))


### Chores

* do not install brew dependencies in ./scripts/bootstrap by default ([2675e14](https://github.com/scaleapi/agentex-python/commit/2675e14bf9f3a0113a849caf2283376c448f9d03))
* improve example values ([6997fe5](https://github.com/scaleapi/agentex-python/commit/6997fe57910ea54d6d71b25fdea4497925c8ec63))
* **internal:** detect missing future annotations with ruff ([f1aa71f](https://github.com/scaleapi/agentex-python/commit/f1aa71f89bb0e8369e6d895b5111dc15fd1e2c12))
* **internal:** update pydantic dependency ([156ea64](https://github.com/scaleapi/agentex-python/commit/156ea64a4fa317d3ab483e7b9b6ba63471b618ef))
* **internal:** version bump ([8567752](https://github.com/scaleapi/agentex-python/commit/85677527f5c8d393f0eea0a2a629da48fb56f4a9))
* **internal:** version bump ([45206dd](https://github.com/scaleapi/agentex-python/commit/45206dd28643403800c386b75e1c9a442c8978ae))
* **internal:** version bump ([98354ba](https://github.com/scaleapi/agentex-python/commit/98354ba2e7630798e25a8e278cba44c1aacc1e08))
* **internal:** version bump ([aa2a8db](https://github.com/scaleapi/agentex-python/commit/aa2a8db5907f78b4b39849a1900dae27412359bb))
* **internal:** version bump ([73bba2a](https://github.com/scaleapi/agentex-python/commit/73bba2a59e77fa31caab5b668781b71bc7c5ec2d))
* **types:** change optional parameter type from NotGiven to Omit ([2117d77](https://github.com/scaleapi/agentex-python/commit/2117d77219da097e784d5d2deab1632a2855dae9))

## 0.4.23 (2025-10-02)

Full Changelog: [v0.4.22...v0.4.23](https://github.com/scaleapi/agentex-python/compare/v0.4.22...v0.4.23)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ It is generated with [Stainless](https://www.stainless.com/).

## Documentation

The full API of this library can be found in [api.md](api.md).
The REST API documentation can be found on [docs.gp.scale.com](https://docs.gp.scale.com). The full API of this library can be found in [api.md](api.md).

## Installation

Expand Down
4 changes: 4 additions & 0 deletions SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ before making any information public.
If you encounter security issues that are not directly related to SDKs but pertain to the services
or products provided by Agentex, please follow the respective company's security reporting guidelines.

### Agentex Terms and Policies

Please contact roxanne.farhad@scale.com for any questions or concerns regarding the security of our services.

---

Thank you for helping us keep the SDKs and systems they interact with secure.
8 changes: 6 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[project]
name = "agentex-sdk"
version = "0.4.23"
version = "0.4.24"
description = "The official Python library for the agentex API"
dynamic = ["readme"]
license = "Apache-2.0"
authors = [
{ name = "Agentex", email = "" },
{ name = "Agentex", email = "roxanne.farhad@scale.com" },
]
dependencies = [
"httpx>=0.27.2,<0.28",
Expand Down Expand Up @@ -292,6 +292,8 @@ select = [
"B",
# remove unused imports
"F401",
# check for missing future annotations
"FA102",
# bare except statements
"E722",
# unused arguments
Expand All @@ -314,6 +316,8 @@ unfixable = [
"T203",
]

extend-safe-fixes = ["FA102"]

[tool.ruff.lint.flake8-tidy-imports.banned-api]
"functools.lru_cache".msg = "This function does not retain type information for the wrapped function's arguments; The `lru_cache` function from `_utils` should be used instead"

Expand Down
31 changes: 17 additions & 14 deletions requirements-dev.lock
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,20 @@ prompt-toolkit==3.0.51
propcache==0.3.1
# via aiohttp
# via yarl
pydantic==2.11.9
# via agentex-sdk
# via agentex-sdk
# via fastapi
# via litellm
# via mcp
# via openai
# via openai-agents
# via pydantic-settings
# via python-on-whales
# via scale-gp
# via scale-gp-beta
pydantic-core==2.33.2
# via pydantic
protobuf==5.29.5
# via ddtrace
# via temporalio
Expand All @@ -233,19 +247,6 @@ pyasn1==0.6.1
# via rsa
pyasn1-modules==0.4.2
# via google-auth
pydantic==2.10.3
# via agentex-sdk
# via fastapi
# via litellm
# via mcp
# via openai
# via openai-agents
# via pydantic-settings
# via python-on-whales
# via scale-gp
# via scale-gp-beta
pydantic-core==2.27.1
# via pydantic
pydantic-settings==2.10.1
# via mcp
pygments==2.18.0
Expand Down Expand Up @@ -382,14 +383,16 @@ typing-extensions==4.12.2
# via pydantic
# via pydantic-core
# via pyright
# via typing-inspection
typing-inspection==0.4.1
# via pydantic
# via python-on-whales
# via referencing
# via scale-gp
# via scale-gp-beta
# via temporalio
# via typer
# via typing-inspection
typing-inspection==0.4.1
# via pydantic-settings
tzdata==2025.2
# via agentex-sdk
Expand Down
30 changes: 16 additions & 14 deletions requirements.lock
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,19 @@ prompt-toolkit==3.0.51
propcache==0.3.1
# via aiohttp
# via yarl
pydantic==2.11.9
# via agentex-sdk
# via fastapi
# via litellm
# via mcp
# via openai
# via openai-agents
# via pydantic-settings
# via python-on-whales
# via scale-gp
# via scale-gp-beta
pydantic-core==2.33.2
# via pydantic
protobuf==5.29.5
# via ddtrace
# via temporalio
Expand All @@ -214,19 +227,6 @@ pyasn1==0.6.1
# via rsa
pyasn1-modules==0.4.2
# via google-auth
pydantic==2.10.3
# via agentex-sdk
# via fastapi
# via litellm
# via mcp
# via openai
# via openai-agents
# via pydantic-settings
# via python-on-whales
# via scale-gp
# via scale-gp-beta
pydantic-core==2.27.1
# via pydantic
pydantic-settings==2.10.1
# via mcp
pygments==2.19.2
Expand Down Expand Up @@ -351,14 +351,16 @@ typing-extensions==4.12.2
# via opentelemetry-api
# via pydantic
# via pydantic-core
# via typing-inspection
typing-inspection==0.4.1
# via pydantic
# via python-on-whales
# via referencing
# via scale-gp
# via scale-gp-beta
# via temporalio
# via typer
# via typing-inspection
typing-inspection==0.4.1
# via pydantic-settings
tzdata==2025.2
# via agentex-sdk
Expand Down
14 changes: 11 additions & 3 deletions scripts/bootstrap
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,18 @@ set -e

cd "$(dirname "$0")/.."

if ! command -v rye >/dev/null 2>&1 && [ -f "Brewfile" ] && [ "$(uname -s)" = "Darwin" ]; then
if [ -f "Brewfile" ] && [ "$(uname -s)" = "Darwin" ] && [ "$SKIP_BREW" != "1" ] && [ -t 0 ]; then
brew bundle check >/dev/null 2>&1 || {
echo "==> Installing Homebrew dependencies…"
brew bundle
echo -n "==> Install Homebrew dependencies? (y/N): "
read -r response
case "$response" in
[yY][eE][sS]|[yY])
brew bundle
;;
*)
;;
esac
echo
}
fi

Expand Down
4 changes: 3 additions & 1 deletion src/agentex/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import typing as _t

from . import types
from ._types import NOT_GIVEN, Omit, NoneType, NotGiven, Transport, ProxiesTypes
from ._types import NOT_GIVEN, Omit, NoneType, NotGiven, Transport, ProxiesTypes, omit, not_given
from ._utils import file_from_path
from ._client import (
ENVIRONMENTS,
Expand Down Expand Up @@ -49,7 +49,9 @@
"ProxiesTypes",
"NotGiven",
"NOT_GIVEN",
"not_given",
"Omit",
"omit",
"AgentexError",
"APIError",
"APIStatusError",
Expand Down
18 changes: 9 additions & 9 deletions src/agentex/_base_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@
from ._qs import Querystring
from ._files import to_httpx_files, async_to_httpx_files
from ._types import (
NOT_GIVEN,
Body,
Omit,
Query,
Expand All @@ -57,6 +56,7 @@
RequestOptions,
HttpxRequestFiles,
ModelBuilderProtocol,
not_given,
)
from ._utils import is_dict, is_list, asyncify, is_given, lru_cache, is_mapping
from ._compat import PYDANTIC_V1, model_copy, model_dump
Expand Down Expand Up @@ -145,9 +145,9 @@ def __init__(
def __init__(
self,
*,
url: URL | NotGiven = NOT_GIVEN,
json: Body | NotGiven = NOT_GIVEN,
params: Query | NotGiven = NOT_GIVEN,
url: URL | NotGiven = not_given,
json: Body | NotGiven = not_given,
params: Query | NotGiven = not_given,
) -> None:
self.url = url
self.json = json
Expand Down Expand Up @@ -595,7 +595,7 @@ def _maybe_override_cast_to(self, cast_to: type[ResponseT], options: FinalReques
# we internally support defining a temporary header to override the
# default `cast_to` type for use with `.with_raw_response` and `.with_streaming_response`
# see _response.py for implementation details
override_cast_to = headers.pop(OVERRIDE_CAST_TO_HEADER, NOT_GIVEN)
override_cast_to = headers.pop(OVERRIDE_CAST_TO_HEADER, not_given)
if is_given(override_cast_to):
options.headers = headers
return cast(Type[ResponseT], override_cast_to)
Expand Down Expand Up @@ -825,7 +825,7 @@ def __init__(
version: str,
base_url: str | URL,
max_retries: int = DEFAULT_MAX_RETRIES,
timeout: float | Timeout | None | NotGiven = NOT_GIVEN,
timeout: float | Timeout | None | NotGiven = not_given,
http_client: httpx.Client | None = None,
custom_headers: Mapping[str, str] | None = None,
custom_query: Mapping[str, object] | None = None,
Expand Down Expand Up @@ -1356,7 +1356,7 @@ def __init__(
base_url: str | URL,
_strict_response_validation: bool,
max_retries: int = DEFAULT_MAX_RETRIES,
timeout: float | Timeout | None | NotGiven = NOT_GIVEN,
timeout: float | Timeout | None | NotGiven = not_given,
http_client: httpx.AsyncClient | None = None,
custom_headers: Mapping[str, str] | None = None,
custom_query: Mapping[str, object] | None = None,
Expand Down Expand Up @@ -1818,8 +1818,8 @@ def make_request_options(
extra_query: Query | None = None,
extra_body: Body | None = None,
idempotency_key: str | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
post_parser: PostParser | NotGiven = NOT_GIVEN,
timeout: float | httpx.Timeout | None | NotGiven = not_given,
post_parser: PostParser | NotGiven = not_given,
) -> RequestOptions:
"""Create a dict of type RequestOptions without keys of NotGiven values."""
options: RequestOptions = {}
Expand Down
24 changes: 12 additions & 12 deletions src/agentex/_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,21 @@
from __future__ import annotations

import os
from typing import Any, Dict, Union, Mapping, cast
from typing import Any, Dict, Mapping, cast
from typing_extensions import Self, Literal, override

import httpx

from . import _exceptions
from ._qs import Querystring
from ._types import (
NOT_GIVEN,
Omit,
Timeout,
NotGiven,
Transport,
ProxiesTypes,
RequestOptions,
not_given,
)
from ._utils import is_given, get_async_library
from ._version import __version__
Expand Down Expand Up @@ -69,9 +69,9 @@ def __init__(
self,
*,
api_key: str | None = None,
environment: Literal["production", "development"] | NotGiven = NOT_GIVEN,
base_url: str | httpx.URL | None | NotGiven = NOT_GIVEN,
timeout: Union[float, Timeout, None, NotGiven] = NOT_GIVEN,
environment: Literal["production", "development"] | NotGiven = not_given,
base_url: str | httpx.URL | None | NotGiven = not_given,
timeout: float | Timeout | None | NotGiven = not_given,
max_retries: int = DEFAULT_MAX_RETRIES,
default_headers: Mapping[str, str] | None = None,
default_query: Mapping[str, object] | None = None,
Expand Down Expand Up @@ -172,9 +172,9 @@ def copy(
api_key: str | None = None,
environment: Literal["production", "development"] | None = None,
base_url: str | httpx.URL | None = None,
timeout: float | Timeout | None | NotGiven = NOT_GIVEN,
timeout: float | Timeout | None | NotGiven = not_given,
http_client: httpx.Client | None = None,
max_retries: int | NotGiven = NOT_GIVEN,
max_retries: int | NotGiven = not_given,
default_headers: Mapping[str, str] | None = None,
set_default_headers: Mapping[str, str] | None = None,
default_query: Mapping[str, object] | None = None,
Expand Down Expand Up @@ -273,9 +273,9 @@ def __init__(
self,
*,
api_key: str | None = None,
environment: Literal["production", "development"] | NotGiven = NOT_GIVEN,
base_url: str | httpx.URL | None | NotGiven = NOT_GIVEN,
timeout: Union[float, Timeout, None, NotGiven] = NOT_GIVEN,
environment: Literal["production", "development"] | NotGiven = not_given,
base_url: str | httpx.URL | None | NotGiven = not_given,
timeout: float | Timeout | None | NotGiven = not_given,
max_retries: int = DEFAULT_MAX_RETRIES,
default_headers: Mapping[str, str] | None = None,
default_query: Mapping[str, object] | None = None,
Expand Down Expand Up @@ -376,9 +376,9 @@ def copy(
api_key: str | None = None,
environment: Literal["production", "development"] | None = None,
base_url: str | httpx.URL | None = None,
timeout: float | Timeout | None | NotGiven = NOT_GIVEN,
timeout: float | Timeout | None | NotGiven = not_given,
http_client: httpx.AsyncClient | None = None,
max_retries: int | NotGiven = NOT_GIVEN,
max_retries: int | NotGiven = not_given,
default_headers: Mapping[str, str] | None = None,
set_default_headers: Mapping[str, str] | None = None,
default_query: Mapping[str, object] | None = None,
Expand Down
Loading
Loading