The store and agent examples name the document's ProvisioningProvisionRequest and AgentCreateAgentIn.

This commit is contained in:
2026-09-28 18:33:24 -07:00
parent d044022152
commit 68d560c316
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -19,7 +19,7 @@ rows, because the document declares ``GET /v1/agent/{ref}/runs`` without its
import time
from hanzoai.cloud import AgentApi, CreateAgentIn
from hanzoai.cloud import AgentApi, AgentCreateAgentIn
from examples.client import MODEL, client, run
@@ -32,7 +32,7 @@ def main() -> None:
agents = AgentApi(api)
created = agents.post_agent(
CreateAgentIn(
AgentCreateAgentIn(
name=NAME,
model=MODEL,
description="Created by the hanzoai SDK agent example.",
+2 -2
View File
@@ -18,7 +18,7 @@ rather than leaving it billable for the next run to collide with.
import time
from hanzoai.cloud import ProvisionRequest, ProvisioningApi
from hanzoai.cloud import ProvisioningApi, ProvisioningProvisionRequest
from examples.client import client, run
@@ -29,7 +29,7 @@ def main() -> None:
with client() as api:
kv = ProvisioningApi(api)
kv.post_provisioning_kv(ProvisionRequest(name=NAME))
kv.post_provisioning_kv(ProvisioningProvisionRequest(name=NAME))
print(f"provisioned {NAME}")
try: