Skip to content

Commit

Permalink
Renaming.
Browse files Browse the repository at this point in the history
  • Loading branch information
kinyoklion committed Nov 4, 2024
1 parent 6106c82 commit c8d3c05
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/sdk/ai/src/LDAIClientImpl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ interface VariationContent {
_ldMeta?: LDMeta;
}

export class AIClientImpl implements LDAIClient {
export class LDAIClientImpl implements LDAIClient {
private _ldClient: LDClient;

constructor(ldClient: LDClient) {
Expand Down
4 changes: 2 additions & 2 deletions packages/sdk/ai/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
import { LDClient } from '@launchdarkly/node-server-sdk';

import { LDAIClient } from './api/AIClient';
import { AIClientImpl } from './LDAIClientImpl';
import { LDAIClientImpl } from './LDAIClientImpl';

/**
* Initialize a new AI client. This client will be used to perform any AI operations.
* @param ldClient The base LaunchDarkly client.
* @returns A new AI client.
*/
export function initAi(ldClient: LDClient): LDAIClient {
return new AIClientImpl(ldClient);
return new LDAIClientImpl(ldClient);
}

export * from './api';

0 comments on commit c8d3c05

Please sign in to comment.