feat: include improve

This commit is contained in:
Shivam Mishra
2025-12-16 13:44:13 +05:30
parent e8d1abf541
commit 50b45170e7
3 changed files with 4 additions and 4 deletions
@@ -33,7 +33,7 @@ const menuItems = computed(() => {
label: t(
'INTEGRATION_SETTINGS.OPEN_AI.REPLY_OPTIONS.IMPROVE_REPLY_SELECTION'
),
key: 'rephrase_selection',
key: 'improve_selection',
icon: 'i-fluent-pen-sparkle-24-regular',
});
} else if (
@@ -42,7 +42,7 @@ const menuItems = computed(() => {
) {
items.push({
label: t('INTEGRATION_SETTINGS.OPEN_AI.REPLY_OPTIONS.IMPROVE_REPLY'),
key: 'rephrase',
key: 'improve',
icon: 'i-fluent-pen-sparkle-24-regular',
});
}
@@ -1,6 +1,6 @@
module Enterprise::Integrations::OpenaiProcessorService
ALLOWED_EVENT_NAMES = %w[summarize reply_suggestion label_suggestion fix_spelling_grammar
friendly casual professional confident straightforward].freeze
friendly casual professional confident straightforward improve].freeze
CACHEABLE_EVENTS = %w[label_suggestion].freeze
def label_suggestion_message
+1 -1
View File
@@ -8,7 +8,7 @@ class Integrations::LlmBaseService
TOKEN_LIMIT = 400_000
GPT_MODEL = Llm::Config::DEFAULT_MODEL
ALLOWED_EVENT_NAMES = %w[summarize reply_suggestion fix_spelling_grammar casual professional friendly confident
straightforward].freeze
straightforward improve].freeze
CACHEABLE_EVENTS = %w[].freeze
pattr_initialize [:hook!, :event!]