Module exposing: DEFAULT_AUTH_GATEWAY_BIND
// Source: https://github.com/can1357/oh-my-pi | License: MIT | Copyright 2025 Mario Zechner
// Provided via justclaw.it.com; keep this notice with the code.
import type { Effort } from "@oh-my-pi/pi-catalog/effort";
import type { AuthGatewayClient } from "./clients";
import type {
AssistantMessage,
AssistantMessageEventStream,
CacheRetention,
Context,
OpenAIResponseInclude,
ServiceTier,
TokenTaskBudget,
} from "../types";
/**
* Wire types for the omp auth-gateway.
*
* The gateway sits between unauthenticated clients (containerized omp,
* llm-git, …) and the broker. It accepts provider-format HTTP requests
* (OpenAI chat-completions / Anthropic messages / OpenAI Responses),
* dispatches them through pi-ai's `streamSimple()`, and translates the
* canonical event stream back t
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key