Skip to content

Commit c17204d

Browse files
committed
fix: add missing lexicons
1 parent 7323daf commit c17204d

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

core/components/modai/lexicon/en/setting.inc.php

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@
4040
$_lang['setting_modai.global.vision.stream_desc'] = 'If enabled and execute on server is disabled, supported models will stream the response.';
4141
$_lang['setting_modai.global.vision.custom_options'] = 'Custom Options';
4242
$_lang['setting_modai.global.vision.custom_options_desc'] = 'A JSON object of custom options passed to the body of the AI request. Please consult the documentation for your model for supported options.';
43+
$_lang['setting_modai.global.vision.max_tokens'] = 'Default Maximum Tokens';
44+
$_lang['setting_modai.global.vision.max_tokens_desc'] = 'To manage costs, 1000 tokens is roughly equal to 750 words.';
4345

4446
$_lang['setting_modai.global.image.model'] = 'Image Model';
4547
$_lang['setting_modai.global.image.model_desc'] = 'Valid options are `dall-e-2` and `dall-e-3` (default). See https://platform.openai.com/docs/guides/images/image-generation-beta for full details including DALL-E-2 specifics.';
@@ -79,5 +81,11 @@
7981
$_lang['setting_modai.cache.lit'] = 'Last Install Time';
8082
$_lang['setting_modai.cache.lit_desc'] = '';
8183

82-
$_lang['setting_modai.contexts.resources.name'] = 'Context Provider Name';
84+
$_lang['setting_modai.contexts.resources.name'] = 'Resources Context Provider Name';
8385
$_lang['setting_modai.contexts.resources.name_desc'] = 'Name of the context provider that will be used to index resources. It has to be enabled.';
86+
$_lang['setting_modai.contexts.chunks.name'] = 'Chunks Context Provider Name';
87+
$_lang['setting_modai.contexts.chunks.name_desc'] = 'Name of the context provider that will be used to index chunks. It has to be enabled.';
88+
$_lang['setting_modai.contexts.snippets.name'] = 'Snippets Context Provider Name';
89+
$_lang['setting_modai.contexts.snippets.name_desc'] = 'Name of the context provider that will be used to index snippets. It has to be enabled.';
90+
$_lang['setting_modai.contexts.templates.name'] = 'Templates Context Provider Name';
91+
$_lang['setting_modai.contexts.templates.name_desc'] = 'Name of the context provider that will be used to index templates. It has to be enabled.';

0 commit comments

Comments
 (0)