Files
kai/requirements.txt
zooqueenandHanzo Dev 23f4b87578 Call Kai through the hanzoai 8.5.704 SDK
The Python and TypeScript examples imported a client that hanzoai does not
ship: `from hanzoai import Hanzo` and `import Hanzo from 'hanzoai'` both fail
on 8.5.704, so none of them ran. They now call AiApi.post_decisions /
postDecisions, which builds every question shape the cookbook uses (choice
with object or list criteria, score, noul), and package.json and
requirements.txt pin the version that was checked.

The noul examples read action.act_probability, which the API does not
return; they print P(true) only. A failed TypeScript call now rethrows only
its HTTP status and body, because the axios error holds the request's
Authorization header and an uncaught one prints it. The raw HTTP clients
drop model ids the API refuses and exit non-zero on failure.

Co-authored-by: Hanzo Dev <[email protected]>
2026-10-09 17:39:13 -07:00

3 lines
26 B
Plaintext