Skip to main content

Module capabilities

Module capabilities 

Source
Expand description

Capability identifiers and constructors that gate gateway operations.

Constants§

AI_RUNNER_CACHE_CAPABILITY
Capability id ai-runner-cache for using the AI runner plan cache.
NETWORK_CAPABILITY
Capability id network for outbound network access.
OPENAI_GATEWAY_ADMIN_CAPABILITY
Capability id openai-gateway.admin for gateway administration.
OPENAI_GATEWAY_FEDERATE_CAPABILITY
Capability id openai-gateway.federate for federating to peer gateways.
OPENAI_GATEWAY_PLAN_CAPABILITY
Capability id openai-gateway.plan for local plan execution.
OPENAI_GATEWAY_PLAN_REMOTE_CAPABILITY
Capability id openai-gateway.plan.remote for remote plan execution.
OPENAI_GATEWAY_SERVE_CAPABILITY
Capability id openai-gateway.serve for serving the OpenAI gateway.
OPENAI_GATEWAY_TOOLS_CAPABILITY
Capability id openai-gateway.tools for invoking gateway tools.
WEBHOOK_SERVE_CAPABILITY
Capability id webhook-serve for serving inbound webhook requests.

Functions§

ai_runner_cache_capability
Returns the AI_RUNNER_CACHE_CAPABILITY as a CapabilityName.
network_capability
Returns the NETWORK_CAPABILITY as a CapabilityName.
openai_gateway_admin_capability
Returns the OPENAI_GATEWAY_ADMIN_CAPABILITY as a CapabilityName.
openai_gateway_federate_capability
Returns the OPENAI_GATEWAY_FEDERATE_CAPABILITY as a CapabilityName.
openai_gateway_plan_capability
Returns the OPENAI_GATEWAY_PLAN_CAPABILITY as a CapabilityName.
openai_gateway_plan_remote_capability
Returns the OPENAI_GATEWAY_PLAN_REMOTE_CAPABILITY as a CapabilityName.
openai_gateway_serve_capabilities
Returns the capability set required to serve the OpenAI gateway: serve, network, and webhook-serve.
openai_gateway_serve_capability
Returns the OPENAI_GATEWAY_SERVE_CAPABILITY as a CapabilityName.
openai_gateway_tools_capability
Returns the OPENAI_GATEWAY_TOOLS_CAPABILITY as a CapabilityName.
webhook_serve_capability
Returns the WEBHOOK_SERVE_CAPABILITY as a CapabilityName.