mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-05 17:40:33 +08:00
Seeing many errors about
```
DiscourseAi::Completions::Endpoints::Gemini: status: 400 - body: {
"error": {
"code": 400,
"message": "* GenerateContentRequest.contents: contents is not specified\n",
"status": "INVALID_ARGUMENT"
}
}
```
This is triggered due to posts with images and no text.
The solution here is to set the locale to site default locale.
|
||
|---|---|---|
| .. | ||
| automation | ||
| completions | ||
| discord/bot | ||
| discourse_automation | ||
| inference | ||
| inferred_concepts | ||
| modules | ||
| personas | ||
| translation | ||
| utils | ||
| guardian_extensions_spec.rb | ||