bot

package
v1.786.173 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 10, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package botsvc mounts /v1/bot/* — a reverse proxy to the in-cluster bot-gateway (the OpenAI-compatible agent gateway that owns channels, skills, and the agent API). The console Bot module probes /v1/bot/health and links out to the operational surfaces; without this the route 404s "not routed on this host". No bot logic is reimplemented here — bot-gateway owns it.

Path mapping: bot-gateway serves bare paths (/health, /v1/chat/completions), NOT the /v1/bot/* prefix — the edge strips it. So this facade strips /v1/bot too: /v1/bot/<rest> → {bot-gateway}/<rest> (e.g. /v1/bot/health → /health).

Order 143 — binds /v1/bot/* before the AI subsystem's /v1/* catch-all (150).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Mount

func Mount(app *zip.App, deps cloud.Deps) error

Mount registers the /v1/bot/* surface on app per HIP-0106.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL