Skip to content

Commit

Permalink
Merge pull request #2095 from G4brym/fix-ai-binding-logs-property
Browse files Browse the repository at this point in the history
Fix ai binding logs property
  • Loading branch information
RamIdeas authored May 9, 2024
2 parents 5c263c1 + 232e061 commit 62481a4
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 this option is deprecated, do not use this
private logs: Array<string> = [];
private options: AiOptions = {};
public lastRequestId: string | null = null;

Expand Down

0 comments on commit 62481a4

Please sign in to comment.