Function: resolveModelGatewayOptions()
resolveModelGatewayOptions(
options?):object
Validate and default model-gateway server options.
Parameters
Section titled “Parameters”options?
Section titled “options?”bearerToken?
Section titled “bearerToken?”string = ...
bodyLimit?
Section titled “bodyLimit?”string = ...
listen?
Section titled “listen?”unknown = ...
model?
Section titled “model?”string = ModelOptionSchema
modelClass?
Section titled “modelClass?”"chat-thinking" | "chat-balanced" | "chat-fast" | "embedding" = ModelClassOptionSchema
profile?
Section titled “profile?”string = ...
Returns
Section titled “Returns”object
bearerToken?
Section titled “bearerToken?”
optionalbearerToken?:string
bodyLimit
Section titled “bodyLimit”bodyLimit:
string
listen
Section titled “listen”listen:
object
listen.host
Section titled “listen.host”host:
string
listen.port
Section titled “listen.port”port:
number=tcpPortOrZeroSchema
listen.scheme
Section titled “listen.scheme”scheme:
"tcp"
model?
Section titled “model?”
optionalmodel?:string=ModelOptionSchema
modelClass?
Section titled “modelClass?”
optionalmodelClass?:"chat-thinking"|"chat-balanced"|"chat-fast"|"embedding"=ModelClassOptionSchema
profile?
Section titled “profile?”
optionalprofile?:string