Skip to content

Commit

Permalink
feat(openai): enable strict mode for plugin initialization
Browse files Browse the repository at this point in the history
The OpenAI plugin now enforces strict mode during initialization, ensuring enhanced
reliability and preventing potential issues with plugin setup.
  • Loading branch information
dingyi222666 committed Sep 19, 2024
1 parent 3145a6e commit 3091df5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/openai/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class OpenAIPlugin extends ChatLunaPlatformPlugin<
OpenAIPlugin.Config
> {
constructor(ctx: Context, config: OpenAIPlugin.Config) {
super(ctx, config)
super(ctx, config, true)
}

createClient(
Expand Down

0 comments on commit 3091df5

Please sign in to comment.