@conciergus/chat - v0.3.1
Preparing search index...
index
GatewayManager
Class GatewayManager
Gateway wrapper class for managing AI Gateway functionality
Index
Constructors
constructor
Methods
get
Available
Models
get
Model
Capabilities
select
Optimal
Model
is
Valid
Configuration
Constructors
constructor
new
GatewayManager
(
config
?:
GatewayConfig
)
:
GatewayManager
Parameters
Optional
config
:
GatewayConfig
Returns
GatewayManager
Methods
get
Available
Models
getAvailableModels
()
:
string
[]
Returns
string
[]
get
Model
Capabilities
getModelCapabilities
(
modelId
:
string
,
)
:
{
supportsVision
:
boolean
;
supportsFunctionCalling
:
boolean
;
supportsReasoning
:
boolean
;
costTier
:
"low"
|
"medium"
|
"high"
;
}
Parameters
modelId
:
string
Returns
{
supportsVision
:
boolean
;
supportsFunctionCalling
:
boolean
;
supportsReasoning
:
boolean
;
costTier
:
"low"
|
"medium"
|
"high"
;
}
select
Optimal
Model
selectOptimalModel
(
requirements
:
{
vision
?:
boolean
;
functionCalling
?:
boolean
;
reasoning
?:
boolean
;
costOptimized
?:
boolean
;
}
,
)
:
string
Parameters
requirements
:
{
vision
?:
boolean
;
functionCalling
?:
boolean
;
reasoning
?:
boolean
;
costOptimized
?:
boolean
;
}
Returns
string
is
Valid
Configuration
isValidConfiguration
()
:
boolean
Returns
boolean
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
get
Available
Models
get
Model
Capabilities
select
Optimal
Model
is
Valid
Configuration
@conciergus/chat - v0.3.1
Loading...
Gateway wrapper class for managing AI Gateway functionality