0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-06 13:08:40 +08:00
discourse/plugins/discourse-ai/spec/configuration
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
..
discord_search_agent_validator_spec.rb FIX: Run Discord agents as their associated user (#40914) 2026-06-15 18:00:30 -03:00
embedding_defs_validator_spec.rb
feature_register_spec.rb DEV: Enable Rails/FilePath rubocop rule (#40097) 2026-05-19 19:07:54 +02:00
feature_spec.rb FEATURE: Dedicated image caption AI feature and agent validations (#41729) 2026-07-16 11:29:39 +08:00
image_caption_agent_validator_spec.rb FEATURE: Dedicated image caption AI feature and agent validations (#41729) 2026-07-16 11:29:39 +08:00
image_caption_enabled_validator_spec.rb DEV: Fix ai_image_caption_agent site setting leaking between specs (#41806) 2026-07-17 11:12:21 +01:00
llm_enumerator_spec.rb FEATURE: Provider-native built-in tools for agents (web search) (#40809) 2026-06-16 14:37:51 -03:00
llm_validator_spec.rb DEV: exercise streaming in LLM model Run Test (#39983) 2026-05-13 14:09:57 -03:00
module_register_spec.rb DEV: Enable Rails/FilePath rubocop rule (#40097) 2026-05-19 19:07:54 +02:00
spam_detection_validator_spec.rb