@zimtsui/brainswitch
Preparing search index...
Engine
Options
Interface Options<fdm>
interface
Options
<
in out
fdm
extends
Function
.
Declaration
.
Map
=
{}
>
{
apiKey
:
string
;
apiType
:
|
"openai-chatcompletions"
|
"openai-responses"
|
"google"
|
"qwen"
|
"openrouter-monolith"
|
"openrouter-stream"
|
"huggingface-cerebras-qwen3-thinking"
;
baseUrl
:
string
;
cachedPrice
?:
number
;
customOptions
?:
{
[
key
:
string
]:
any
}
;
functionCallMode
?:
Function
.
ToolChoice
<
fdm
>
;
functionDeclarationMap
:
fdm
;
inputPrice
?:
number
;
model
:
string
;
name
:
string
;
outputPrice
?:
number
;
proxy
?:
string
;
rpm
?:
number
;
throttle
:
Throttle
;
timeout
?:
number
;
tpm
?:
number
;
}
Type Parameters
in out
fdm
extends
Function
.
Declaration
.
Map
=
{}
Hierarchy (
View Summary
)
EndpointSpec
Functions
<
fdm
>
Options
Index
Properties
api
Key
api
Type
base
Url
cached
Price?
custom
Options?
function
Call
Mode?
function
Declaration
Map
input
Price?
model
name
output
Price?
proxy?
rpm?
throttle
timeout?
tpm?
Properties
api
Key
apiKey
:
string
= ...
api
Type
apiType
:
|
"openai-chatcompletions"
|
"openai-responses"
|
"google"
|
"qwen"
|
"openrouter-monolith"
|
"openrouter-stream"
|
"huggingface-cerebras-qwen3-thinking"
= ...
base
Url
baseUrl
:
string
= ...
Optional
cached
Price
cachedPrice
?:
number
= ...
Optional
custom
Options
customOptions
?:
{
[
key
:
string
]:
any
}
= ...
Optional
function
Call
Mode
functionCallMode
?:
Function
.
ToolChoice
<
fdm
>
function
Declaration
Map
functionDeclarationMap
:
fdm
Optional
input
Price
inputPrice
?:
number
= ...
model
model
:
string
= ...
name
name
:
string
= ...
Optional
output
Price
outputPrice
?:
number
= ...
Optional
proxy
proxy
?:
string
= ...
Optional
rpm
rpm
?:
number
= ...
throttle
throttle
:
Throttle
Optional
timeout
timeout
?:
number
= ...
Optional
tpm
tpm
?:
number
= ...
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
api
Key
api
Type
base
Url
cached
Price
custom
Options
function
Call
Mode
function
Declaration
Map
input
Price
model
name
output
Price
proxy
rpm
throttle
timeout
tpm
@zimtsui/brainswitch
Loading...