We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef43c50 commit 7e3422dCopy full SHA for 7e3422d
packages/sdk/server-ai/examples/tracked-chat/src/index.ts
@@ -3,7 +3,6 @@ import {
3
basicLogger,
4
init,
5
type LDContext,
6
- LDLogger,
7
LDOptions,
8
} from '@launchdarkly/node-server-sdk';
9
import { initAi } from '@launchdarkly/server-sdk-ai';
@@ -18,13 +17,8 @@ if (!sdkKey) {
18
17
process.exit(1);
19
}
20
21
-const logger = basicLogger({ level: 'debug', destination: console.log });
22
-const options: LDOptions = {
23
- logger,
24
-};
25
-
26
// Initialize LaunchDarkly client
27
-const ldClient = init(sdkKey, options);
+const ldClient = init(sdkKey);
28
29
// Set up the context properties. This context should appear on your LaunchDarkly contexts dashboard
30
// soon after you run the demo.
0 commit comments