mirror of
https://github.com/discourse/discourse.git
synced 2026-08-06 13:08:40 +08:00
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. |
||
|---|---|---|
| .. | ||
| discord_search_agent_validator_spec.rb | ||
| embedding_defs_validator_spec.rb | ||
| feature_register_spec.rb | ||
| feature_spec.rb | ||
| image_caption_agent_validator_spec.rb | ||
| image_caption_enabled_validator_spec.rb | ||
| llm_enumerator_spec.rb | ||
| llm_validator_spec.rb | ||
| module_register_spec.rb | ||
| spam_detection_validator_spec.rb | ||