Skip to content

Interface: ModelProxyBackend

Minimal backend contract consumed by the HTTP proxy and its test doubles.

authHeaders(): Promise<Record<string, string>>

Promise<Record<string, string>>


invocationsUrl(endpoint): string

string

string


isResponsesOnly(endpoint): boolean

string

boolean


models(force?): Promise<object[]>

boolean

Promise<object[]>


resolve(model, options?): Promise<{ matched: boolean; modelId: string; score?: number; }>

string

boolean

Promise<{ matched: boolean; modelId: string; score?: number; }>


responsesUrl(endpoint): string

string

string