# AI-Helper Beitrag Illustrationsfehler. ai\_openai\_api\_key fehlt

**URL:** https://meta.discourse.org/t/ai-helper-post-illustration-error-ai-openai-api-key-missing/349431
**Category:** Bug
**Tags:** ai, ai-helper
**Created:** [28. Januar 2025 um 18:40 UTC](https://meta.discourse.org/t/ai-helper-post-illustration-error-ai-openai-api-key-missing/349431 "2025-01-28T18:40:59Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![dsims](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dsims/32/485916_2.png) [@dsims](https://meta.discourse.org/u/dsims)
#### Post date: [28. Januar 2025 um 18:40 UTC](https://meta.discourse.org/t/ai-helper-post-illustration-error-ai-openai-api-key-missing/349431/1 "2025-01-28T18:40:59Z")

</div>

Ich habe den KI-Helfer so konfiguriert, dass er [Post Illustrations](https://meta.discourse.org/t/introducing-post-illustrations-enhance-your-discourse-content-with-ai-generated-thumbnails/290870) verwendet, aber ich erhalte eine Fehlermeldung. Beim Debuggen des [AiHelper Painter Codes](https://github.com/discourse/discourse-ai/blob/main/lib/ai_helper/painter.rb#L24) sehe ich, dass er `SiteSetting.ai_openai_api_key` benötigt, welches bei mir leer ist. Ich kann diese Einstellung nicht in der Admin-Oberfläche finden, aber ich habe ein OpenAI LLM konfiguriert und es funktioniert für andere Helferfunktionen. Ich vermute also, dass die meisten KI-Funktionen auf die Verwendung des „LLM-Modells“ umgestellt wurden, dies aber zurückgelassen wurde?

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [28. Januar 2025 um 20:24 UTC](https://meta.discourse.org/t/ai-helper-post-illustration-error-ai-openai-api-key-missing/349431/2 "2025-01-28T20:24:06Z")

</div>

Haben Sie „AI OpenAI DALL-E 3 URL“ ausprobiert? Es ist das, was alle Illustrationen mit OpenAI verwenden sollten.

---

<div class="post-metadata">

### Author: ![dsims](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dsims/32/485916_2.png) [@dsims](https://meta.discourse.org/u/dsims)
#### Post date: [28. Januar 2025 um 22:25 UTC](https://meta.discourse.org/t/ai-helper-post-illustration-error-ai-openai-api-key-missing/349431/3 "2025-01-28T22:25:15Z")

</div>

> [@Sam Saffron](#):
>
> Haben Sie „AI openai dall e 3 URL“ ausprobiert?

Was meinen Sie mit „ausprobiert“? Es war voreingestellt auf `https://api.openai.com/v1/images/generations`

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [28. Januar 2025 um 22:29 UTC](https://meta.discourse.org/t/ai-helper-post-illustration-error-ai-openai-api-key-missing/349431/4 "2025-01-28T22:29:36Z")

</div>

Oh, Moment mal, ich sehe es, ist @Roman der Schlüssel für Dall E, der versehentlich versteckt wurde?

---

<div class="post-metadata">

### Author: ![Roman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/roman/32/157504_2.png) [@Roman](https://meta.discourse.org/u/Roman)
#### Post date: [28. Januar 2025 um 22:31 UTC](https://meta.discourse.org/t/ai-helper-post-illustration-error-ai-openai-api-key-missing/349431/5 "2025-01-28T22:31:32Z")

</div>

Ja, das war es. Einen Moment, ich mache es wieder sichtbar.

> <https://github.com/discourse/discourse-ai/pull/1098>

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [9. Februar 2025 um 21:48 UTC](https://meta.discourse.org/t/ai-helper-post-illustration-error-ai-openai-api-key-missing/349431/6 "2025-02-09T21:48:01Z")

</div>


