openaicaps

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package openaicaps holds small, shared capability rules for OpenAI-hosted backends.

Index

Constants

View Source
const (
	FlavorChat      = "chat"
	FlavorResponses = "responses"
)

Variables

HostedFull is the default capability surface for modern OpenAI Chat and Responses routes.

Functions

func CompatibleReplayEligible

func CompatibleReplayEligible(model string, backendPrefixes []string) bool

func ForHostedModel

func ForHostedModel(model string) lipapi.BackendCaps

ForHostedModel applies conservative, model-id-based capability narrowing. Rules are intentionally small and explicit; expand here as catalog data grows.

func ForHostedModelCompatibleReplay

func ForHostedModelCompatibleReplay(model string, backendPrefixes []string) lipapi.BackendCaps

func ResolveCompatibleReplaySupport

func ResolveCompatibleReplaySupport(flavor, model string, backendPrefixes []string) lipapi.ReasoningReplaySupport

Types

This section is empty.

Jump to

Keyboard shortcuts

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