# Debugging adding new LLM

**URL:** <https://meta.discourse.org/t/debugging-adding-new-llm/321362>\
**Category:** Product Support\
**Tags:** ai\
**Created:** [August 13, 2024, 12:01am UTC](https://meta.discourse.org/t/debugging-adding-new-llm/321362 "2024-08-13T00:01:54Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![Isambard](https://avatars.discourse-cdn.com/v4/letter/i/858c86/32.png) [@Isambard](https://meta.discourse.org/u/Isambard)\
**Post date:** [August 13, 2024, 5:36pm UTC](https://meta.discourse.org/t/debugging-adding-new-llm/321362/7 "2024-08-13T17:36:15Z")

</div>

> [@Falco](#):
>
> What is the error you see on `/logs` ?

Ah. I didn’t know about /logs!

`NameError (undefined local variable or method 'tokenizer' for an instance of DiscourseAi::Completions::Dialects::ChatGpt) app/controllers/application_controller.rb:424:in 'block in with_resolved_local`

Hmm. The one that works is for a model that I quantized myself. I’ll try to quantize the others to see if it is a model format issue.

---

_[View the full topic](https://meta.discourse.org/t/debugging-adding-new-llm/321362)._
