Preparing search index...
The search index is not available
ADK-TS API Reference
ADK-TS API Reference
Models
GeminiContextCacheManager
Class GeminiContextCacheManager
Implements
ContextCacheManager
Index
Constructors
constructor
Methods
get
Genai
Client
handle
Context
Caching
cleanup
Cache
populate
Cache
Metadata
In
Response
Constructors
constructor
new
Gemini
Context
Cache
Manager
(
logger
,
genaiClient
?
)
:
GeminiContextCacheManager
Parameters
logger
:
Logger
Optional
genaiClient
:
GoogleGenAI
Returns
GeminiContextCacheManager
Methods
get
Genai
Client
get
Genai
Client
(
)
:
GoogleGenAI
Returns
GoogleGenAI
handle
Context
Caching
handle
Context
Caching
(
llmRequest
)
:
Promise
<
CacheMetadata
>
Parameters
llmRequest
:
LlmRequest
Returns
Promise
<
CacheMetadata
>
cleanup
Cache
cleanup
Cache
(
cacheName
)
:
Promise
<
void
>
Parameters
cacheName
:
string
Returns
Promise
<
void
>
populate
Cache
Metadata
In
Response
populate
Cache
Metadata
In
Response
(
llmResponse
,
cacheMetadata
)
:
void
Parameters
llmResponse
:
LlmResponse
cacheMetadata
:
CacheMetadata
Returns
void
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
get
Genai
Client
handle
Context
Caching
cleanup
Cache
populate
Cache
Metadata
In
Response
ADK-TS API Reference
Loading...