Skip to content

Commit

Permalink
fix typo setting key
Browse files Browse the repository at this point in the history
  • Loading branch information
datlechin committed Mar 12, 2023
1 parent cccfa02 commit d5400c1
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ The auto-answer feature uses the text-davinci-003 model to generate quick and ac

## Installation

This extension requierd Flarum 1.7 and PHP ^8.1.
This extension requierd **Flarum 1.7** and **PHP 8.1**.

Install with composer:

Expand Down
2 changes: 1 addition & 1 deletion js/dist/admin.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion js/dist/admin.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion js/src/admin/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ app.initializers.add('datlechin/flarum-chatgpt', () => {
}),
})
.registerSetting({
setting: 'datlehin-chatgpt.max_tokens',
setting: 'datlechin-chatgpt.max_tokens',
type: 'number',
label: app.translator.trans('datlechin-chatgpt.admin.settings.max_tokens_label'),
help: app.translator.trans('datlechin-chatgpt.admin.settings.max_tokens_help', {
Expand Down

0 comments on commit d5400c1

Please sign in to comment.