Skip to content

Commit

Permalink
Fix ai binding logs property
Browse files Browse the repository at this point in the history
  • Loading branch information
G4brym committed May 8, 2024
1 parent 39c0d91 commit d8cc88e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/cloudflare/internal/ai-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@ export class InferenceUpstreamError extends Error {
export class Ai {
private readonly fetcher: Fetcher

/*
* @deprecated this option is deprecated, do not use this
*/
// @ts-expect-error
private logs: Array<string> = [];
private options: AiOptions = {};
public lastRequestId: string | null = null;

Expand Down

0 comments on commit d8cc88e

Please sign in to comment.