0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-06 03:25:17 +08:00
discourse/plugins/discourse-ai/lib
Rafael dos Santos Silva f8ff35afbf
FIX: Make Translator agent produce faithful translations (#42186)
Previously, the composer translation agent prompt instructed the model
to act as an "improver" and replace the author's words with "more
beautiful and elegant, upper level" language, which caused heavy
rewrites and odd word choices in some languages.

This change rewrites the prompt to produce a faithful translation that
preserves the original meaning, tone, and formality level, only fixing
small grammar, spelling, and punctuation mistakes, and preserving markup
as-is.
2026-07-30 15:46:06 -03:00
..
admin_dashboard FIX: Split browser pageview rollup source at the cutover date (#42013) 2026-07-24 14:56:36 +08:00
agents FIX: Make Translator agent produce faithful translations (#42186) 2026-07-30 15:46:06 -03:00
ai_bot SECURITY: Scope AI bot reply stream to the PM's participants 2026-07-28 16:40:22 +02:00
ai_helper PERF: Speed up AI helper diff streaming (#41787) 2026-07-17 10:17:54 -03:00
ai_moderation DEV: Enable Style/RedundantSelf rubocop rule (#40098) 2026-05-19 19:27:45 +02:00
ai_tool_scripts FEATURE: Add category definition filters and AI filterTopics binding (#39478) 2026-04-23 17:07:07 +10:00
automation FIX: Avoid duplicate AI triage reviewables when review precedes spam (#41079) 2026-06-22 15:48:56 +08:00
completions FIX: Improve vLLM completion handling (#41862) 2026-07-21 16:35:05 +10:00
configuration FEATURE: Dedicated image caption AI feature and agent validations (#41729) 2026-07-16 11:29:39 +08:00
database
discord/bot FIX: Run Discord agents as their associated user (#40914) 2026-06-15 18:00:30 -03:00
discover DEV: AI persona to agent migration (#38319) 2026-03-10 15:59:45 +11:00
embeddings DEV: Tidy plugin API key scope resource names (#38640) 2026-03-17 13:03:42 +11:00
inference
inferred_concepts DEV: Fix assigned but unused variable Prism warnings (#39436) 2026-04-22 12:42:14 +02:00
mcp FEATURE: Add advanced OAuth options for MCP servers (#38913) 2026-04-01 08:47:23 +11:00
sentiment DEV: Let plugins exclude reports from the customisable dashboard (#40463) 2026-06-03 16:36:01 +03:00
summarization FEATURE: Add locale-aware AI summaries (#41893) 2026-07-22 17:31:38 +10:00
tasks/modules DEV: Remove rake task (#42157) 2026-07-30 16:37:37 +08:00
translation PERF: Remove ai_translation_max_post_length setting (#42133) 2026-07-30 19:35:58 +08:00
utils FIX: Recover AI structured output when models emit stray prefixes (#41745) 2026-07-15 13:48:23 -03:00
admin_dashboard.rb FEATURE: AI highlights for new dashboard (#40740) 2026-06-10 23:00:35 +08:00
ai_api_audit_log_cleaner.rb FEATURE: Also delete api logs when user / user content is deleted (#41122) 2026-06-24 15:21:00 +08:00
ai_bot.rb FIX: Allow AI bot conversations when PM creation is restricted (#41232) 2026-06-29 11:06:39 -05:00
automation.rb FIX: Preserve safe formatting in reviewable reasons (#42164) 2026-07-30 17:07:08 +02:00
embeddings.rb
engine.rb DEV: Add DiscourseAi.register_feature public API (#39127) 2026-05-12 10:16:07 +08:00
guardian_extensions.rb FIX: Allow AI bot conversations when PM creation is restricted (#41232) 2026-06-29 11:06:39 -05:00
multisite_hash.rb
post_extensions.rb
post_image_captions.rb FEATURE: Dedicated image caption AI feature and agent validations (#41729) 2026-07-16 11:29:39 +08:00
summarization.rb FEATURE: Allow selection of multiple content languages when viewing topics and posts (#42128) 2026-07-30 12:19:44 +08:00
topic_extensions.rb FEATURE: Add locale-aware AI summaries (#41893) 2026-07-22 17:31:38 +10:00
translation.rb UX: Convert AI translation's max days ago setting to a specific date setting instead (#42082) 2026-07-28 18:27:34 +08:00
workflow_schema_fields.rb FEATURE: schema based workflow (#41684) 2026-07-15 13:22:29 +02:00