jekalmin / extended_openai_conversation

Home Assistant custom component of conversation agent. It uses OpenAI to control your devices.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Just returns json

sennecoolgames opened this issue · comments

Whenever I try to ask the ai anything it just outputs the code to toggle a light but it doesn't do anything. I have tried different models but nothing works
image

Thanks for reporting an issue.

What model have you tried?
Are you using OpenAI or other alternatives?

I am using openrouter's openchat3.5 model and have the same problem.

I was using multiple free ones from openrouter

I have read the document again and I found out that it's because of openai's service calling and openrouter didn't use it in its api. But I don't know how to fix it.