Skip to content

Commit 61f9300

Browse files
committed
fix: Lint errors
1 parent 2abbc2c commit 61f9300

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

packages/sdk/cloudflare-ai/src/LDAIClientImpl.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ export class LDAIClientImpl implements LDAIClient {
6161

6262
private _mapWorkersAIParameters(params: Record<string, unknown>): Record<string, unknown> {
6363
const mapped: Record<string, unknown> = {};
64+
// eslint-disable-next-line no-restricted-syntax
6465
for (const [key, value] of Object.entries(params)) {
6566
const k = key.toLowerCase();
6667
if (k === 'maxtokens' || k === 'max_tokens') mapped.max_tokens = value;

packages/sdk/cloudflare-ai/src/api/config/LDAIConfigTracker.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import type { Ai } from '@cloudflare/workers-types';
2-
31
import type { LDFeedbackKind, LDTokenUsage } from '../metrics';
42

53
export interface LDAIMetricSummary {

0 commit comments

Comments
 (0)