mirror of
https://ghfast.top/https://github.com/discourse/discourse-translator.git
synced 2026-07-15 11:36:26 +08:00
This commit adds DiscourseAi as a provider for translation. It defines two DiscourseAi::Completions::Prompt, in translator and language_detector, that uses the set ai_helper_model. Validations are in place when this new provider is selected but its requirements are not set up (SiteSetting.ai_helper_model, SiteSetting.ai_enabled)
7 lines
102 B
JSON
7 lines
102 B
JSON
{
|
|
"tests": {
|
|
"requiredPlugins": [
|
|
"https://github.com/discourse/discourse-ai"
|
|
]
|
|
}
|
|
}
|