Documentation
Preparing search index...
@kehto/services
LlmFetch
Type Alias LlmFetch
LlmFetch
:
(
url
:
string
,
init
:
{
body
:
string
;
headers
:
Record
<
string
,
string
>
;
method
:
"POST"
;
signal
:
AbortSignal
;
}
,
)
=>
Promise
<
LlmFetchResponse
>
Minimal
fetch
surface used by
createHttpLlmProvider
.
Type Declaration
(
url
:
string
,
init
:
{
body
:
string
;
headers
:
Record
<
string
,
string
>
;
method
:
"POST"
;
signal
:
AbortSignal
;
}
,
)
:
Promise
<
LlmFetchResponse
>
Parameters
url
:
string
init
:
{
body
:
string
;
headers
:
Record
<
string
,
string
>
;
method
:
"POST"
;
signal
:
AbortSignal
;
}
Returns
Promise
<
LlmFetchResponse
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Documentation
Loading...
Minimal
fetchsurface used by createHttpLlmProvider.