# Debugging AI chat

**URL:** https://meta.discourse.org/t/debugging-ai-chat/349150
**Category:** Support
**Tags:** chat, ai
**Created:** [January 27, 2025, 5:30am UTC](https://meta.discourse.org/t/debugging-ai-chat/349150 "2025-01-27T05:30:58Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![Eric\_Platzek](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eric_platzek/32/484786_2.png) [@Eric\_Platzek](https://meta.discourse.org/u/Eric_Platzek)
#### Post date: [January 27, 2025, 5:30am UTC](https://meta.discourse.org/t/debugging-ai-chat/349150/1 "2025-01-27T05:30:58Z")

</div>

I’m getting this error when I have a personality enabled through the AI plugin and have created a user then I tried messaging the AI directly:

```plaintext

Sorry, it looks like our system encountered an unexpected issue while trying to reply.

{“object”:“error”,“message”:“"auto" tool choice requires --enable-auto-tool-choice and --tool-call-parser to be set”,“type”:“BadRequestError”,“param”:null,“code”:400}

```

What how can I set?:  
–enable-auto-tool-choice  
–tool-call-parser

---

<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: [January 27, 2025, 1:36pm UTC](https://meta.discourse.org/t/debugging-ai-chat/349150/3 "2025-01-27T13:36:44Z")

</div>

What is the LLM that you are trying to chat with ?

---

<div class="post-metadata">

### Author: ![Eric\_Platzek](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eric_platzek/32/484786_2.png) [@Eric\_Platzek](https://meta.discourse.org/u/Eric_Platzek)
#### Post date: [January 27, 2025, 8:44pm UTC](https://meta.discourse.org/t/debugging-ai-chat/349150/4 "2025-01-27T20:44:57Z")

</div>

Thanks for respodning Falco!

I used a default LLM:  
**bge-large-en** CDCK  
**CDCK Hosted Large LLM**

Also can you clarify if this LLM is free to use? Are there additional costs using that LLM?

---

<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: [January 27, 2025, 9:08pm UTC](https://meta.discourse.org/t/debugging-ai-chat/349150/5 "2025-01-27T21:08:04Z")

</div>

The `CDCK Hosted Large LLM` is only available for summarization. It isn’t available for AI Bot conversations at the moment.

---

<div class="post-metadata">

### Author: ![Eric\_Platzek](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eric_platzek/32/484786_2.png) [@Eric\_Platzek](https://meta.discourse.org/u/Eric_Platzek)
#### Post date: [January 27, 2025, 9:35pm UTC](https://meta.discourse.org/t/debugging-ai-chat/349150/9 "2025-01-27T21:35:55Z")

</div>

Thank you for clarifying that.

---

<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: [January 29, 2025, 8:14pm UTC](https://meta.discourse.org/t/debugging-ai-chat/349150/10 "2025-01-29T20:14:25Z")

</div>

This will make restrict the LLM selector to allowed models.

[https://github.com/discourse/discourse-ai/pull/1100](https://github.com/discourse/discourse-ai/pull/1100)

---

<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: [January 30, 2025, 11:00am UTC](https://meta.discourse.org/t/debugging-ai-chat/349150/11 "2025-01-30T11:00:06Z")

</div>

This topic was automatically closed after 14 hours. New replies are no longer allowed.
