0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-12 05:37:26 +08:00
discourse/plugins/discourse-ai/spec
David Taylor 864f5200d9
DEV: Fix ai_image_caption_agent site setting leaking between specs (#41806)
Previously, `image_caption_enabled_validator_spec` saved the
`ai_image_caption_agent` override with a string key via
`SiteSetting.provider.save`, so the symbol-keyed `remove_override!`
cleanup never cleared it and a rolled-back agent id leaked into later
specs in the same worker, making `generate_post_image_captions_spec`
fail with `agent_missing` whenever the two ran together.

This change saves the override with a symbol key so it round-trips with
the standard cleanup, keeping the setting isolated per example.
2026-07-17 11:12:21 +01:00
..
configuration DEV: Fix ai_image_caption_agent site setting leaking between specs (#41806) 2026-07-17 11:12:21 +01:00
db/migrate FEATURE: Automatic AI captions (#41586) 2026-07-15 13:24:10 +08:00
evals DEV: Update models in config and the DE runner (#41082) 2026-06-22 21:29:07 +08:00
fabricators FEATURE: add cost limits to LLM quotas (#41277) 2026-06-30 15:59:24 +10:00
fixtures DEV: AI persona to agent migration (#38319) 2026-03-10 15:59:45 +11:00
integration DEV: Tidy plugin API key scope resource names (#38640) 2026-03-17 13:03:42 +11:00
jobs DEV: Remove unnecessary flakey agent setup (#41799) 2026-07-17 16:13:19 +08:00
lib DEV: Add a spec to assert flag post tool doesn't require approval (#41783) 2026-07-16 17:37:33 -03:00
models FEATURE: add Google Vertex AI LLM provider (#41350) 2026-07-16 15:13:22 -03:00
reports
requests FEATURE: add Google Vertex AI LLM provider (#41350) 2026-07-16 15:13:22 -03:00
serializers FEATURE: retry transient and rate-limited LLM completion requests (#41237) 2026-06-30 09:45:26 +10:00
services FEATURE: Dedicated image caption AI feature and agent validations (#41729) 2026-07-16 11:29:39 +08:00
shared/inference
support DEV: Add DiscourseAi.register_feature public API (#39127) 2026-05-12 10:16:07 +08:00
system FIX: Bring shared setting-field renderers to parity with admin controls (#41773) 2026-07-17 08:37:37 +02:00
tasks DEV: Fix deprecations in plugins specs and silence output (#39257) 2026-04-15 00:00:46 +02:00
plugin_helper.rb DEV: Fix tags_locale_detection_backfill spec flakes (#39553) 2026-04-27 10:45:04 +02:00
plugin_spec.rb DEV: Remove deprecated AI plugin settings (#37459) 2026-02-03 05:39:38 -08:00