
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
..
2026-06-10 20:14:44 -07:00
2026-06-10 20:14:44 -07:00
2026-06-10 20:14:44 -07:00
2026-07-04 19:48:55 -07:00
2026-06-10 20:14:44 -07:00
2026-06-19 20:37:59 -07:00
2026-06-30 14:36:47 -07:00
2026-06-10 20:14:44 -07:00
2026-06-10 20:14:44 -07:00
2026-06-10 20:14:44 -07:00
2026-06-10 20:14:44 -07:00
2026-03-09 20:57:53 -07:00
2026-06-10 20:14:44 -07:00