Documentation
¶
Overview ¶
Package ai is Hanzo AI — the model API on /v1 (/v1/chat/completions, /v1/messages, /v1/models and the rest of hanzoai/ai's surface) — mounted into a cloud binary with the money, ingest and telemetry callbacks cloud BUILDS but cannot INSTALL.
It cannot live in package cloud — github.com/hanzoai/ai imports github.com/hanzoai/cloud, so that direction is an import cycle. It lived in package apps for that reason, and the cost was that the composition root's ai entry named an apps-local helper: plugin/gen-app-cmds can only emit a package-qualified expression, so ai got the fat stub (every subsystem linked) and NO manifest row — which is why the light host 404'd /v1/chat/completions. A sibling package that imports both the module and cloud is legal and is all this needs to be.
The module is aliased because this package is also called ai: unaliased, `return ai.Mount(...)` inside `func Mount` reads as recursion.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.