# Error when translate post by ai （Job exception: undefined method \`strip' for an instance of DiscourseAi::Completions::StructuredOutput

**URL:** https://meta.discourse.org/t/error-when-translate-post-by-ai-job-exception-undefined-method-strip-for-an-instance-of-discourseai-structuredoutput/387393
**Category:** Support
**Tags:** ai, dynaloc
**Created:** [2 november 2025 om 12:34 UTC](https://meta.discourse.org/t/error-when-translate-post-by-ai-job-exception-undefined-method-strip-for-an-instance-of-discourseai-structuredoutput/387393 "2025-11-02T12:34:12Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [2 november 2025 om 17:09 UTC](https://meta.discourse.org/t/error-when-translate-post-by-ai-job-exception-undefined-method-strip-for-an-instance-of-discourseai-structuredoutput/387393/2 "2025-11-02T17:09:36Z")

</div>

What LLM and provider are you using?

---

_[View the full topic](https://meta.discourse.org/t/error-when-translate-post-by-ai-job-exception-undefined-method-strip-for-an-instance-of-discourseai-structuredoutput/387393)._
