Skip to content

Commit

Permalink
Add cacheKey and collectLog options to AI Binding
Browse files Browse the repository at this point in the history
  • Loading branch information
G4brym committed Oct 9, 2024
1 parent 5d8a9f2 commit f2c48a7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/cloudflare/internal/ai-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,11 @@ export type SessionOptions = {

export type GatewayOptions = {
id: string;
cacheKey?: string;
cacheTtl?: number;
skipCache?: boolean;
metadata?: Record<string, number | string | boolean | null | bigint>;
collectLog?: boolean;
};

export type AiOptions = {
Expand Down

0 comments on commit f2c48a7

Please sign in to comment.