
Zach Kellingandhanzo-dev
0a5a9792e8
feat(hanzoai): regenerate client from unified OpenAPI spec (retire Stainless)
Replace the Stainless-generated `hanzoai` client (188 legacy LLM-gateway
endpoints) with an openapi-generator `python` (urllib3 + pydantic v2)
client built from hanzoai/openapi `hanzo.yaml` — the full unified
api.hanzo.ai/v1 surface (493 API groups, 1710 models, all /v1 products).
- scripts/generate.sh: the one-way generator; emits only pkg/hanzoai
(other pkg/hanzo-* packages untouched).
- pyproject: deps -> urllib3 / python-dateutil / pydantic>=2 /
typing-extensions; version 2.2.3 -> 3.0.0 (breaking surface change).
- tests/: Stainless client tests replaced with a surface smoke test.
- .github/workflows/generate.yml: regenerate on openapi spec-update.
- Base URL https://api.hanzo.ai, Bearer hk- / JWT auth.
Verified: wheel hanzoai-3.0.0 builds, installs into a clean venv, and
`import hanzoai` + product API construction succeed.
Co-authored-by: Hanzo Dev <dev@hanzo.ai>
2026-07-04 19:48:55 -07:00
..
2025-08-12 16:19:34 -05:00
2025-03-15 03:31:14 +00:00
2026-04-01 10:41:46 -07:00
2025-12-26 04:31:06 -08:00
2026-02-20 21:29:31 -08:00
2025-03-15 03:31:14 +00:00
2026-07-04 19:48:55 -07:00
2025-03-15 03:56:11 +00:00
2025-03-15 03:31:14 +00:00
2026-04-01 10:41:46 -07:00
2026-04-01 10:41:46 -07:00
2025-08-14 01:52:01 -05:00