unified-llm-client
Preparing search index...
SessionApiOptions
Interface SessionApiOptions
Configuration for
SessionApi
and
createSessionApi()
.
interface
SessionApiOptions
{
basePath
?:
string
;
client
:
LLMClient
;
conversationDefaults
?:
SessionConversationConfig
;
contextManager
?:
ContextManager
;
middleware
?:
SessionApiMiddleware
[]
;
sessionStore
?:
SessionStore
<
ConversationSnapshot
>
;
tools
?:
CanonicalTool
<
JsonObject
>
[]
;
withRequestContext
?:
<
TValue
>
(
context
:
SessionApiRequestContext
,
execute
:
()
=>
Promise
<
TValue
>
,
)
=>
Promise
<
TValue
>
;
}
Index
Properties
base
Path?
client
conversation
Defaults?
context
Manager?
middleware?
session
Store?
tools?
with
Request
Context?
Properties
Optional
base
Path
basePath
?:
string
client
client
:
LLMClient
Optional
conversation
Defaults
conversationDefaults
?:
SessionConversationConfig
Optional
context
Manager
contextManager
?:
ContextManager
Optional
middleware
middleware
?:
SessionApiMiddleware
[]
Optional
session
Store
sessionStore
?:
SessionStore
<
ConversationSnapshot
>
Optional
tools
tools
?:
CanonicalTool
<
JsonObject
>
[]
Optional
with
Request
Context
withRequestContext
?:
<
TValue
>
(
context
:
SessionApiRequestContext
,
execute
:
()
=>
Promise
<
TValue
>
,
)
=>
Promise
<
TValue
>
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
base
Path
client
conversation
Defaults
context
Manager
middleware
session
Store
tools
with
Request
Context
unified-llm-client
Loading...
Configuration for
SessionApiandcreateSessionApi().