Original Discord Post by tyke_18 | 2024-09-27 09:39:40
Hi
I can create a character and talk to it when I use the Character API (POST https://api.convai.com/character/create). However when I then use the Core Setting API (POST https://api.convai.com/character/update) to update the characters’ LLM that they use I’m getting an error.
I have some log files for information, here is the log file for creating the character and then specifying the LLM in 2 separate API calls. As you can see the response is fine.
If I create a new character and don’t use the Core Setting API to specify an LLM to use after first creating the character, I can talk to the character no problem. So maybe I am doing something wrong with the Core Setting API but as you can see from the response to the api call I am getting a SUCCESS response, the character is being created and the LLM is what I specify.
Ah, I just changed the LLM for the character in the dashboard to GPT 4o and it works and it works for the other LLM’s, it seems the API call is not setting the LLM properly even though I am getting a SUCCESS response back and the code look ok, the model I am specifying matches what is in the docs.