Connect custom model with text generator

Hello,

I added the text generator plugin. I have a mistral model that I got from LM Studio. I deployed it as a server. I want to connect text generator with model.
In the plugin options:

In my note, I write for example: What is AI? I select what I wrote then I click on Generate Text.
In the server logs I get this error:

[2023-11-22 15:45:12.053] [INFO] Received OPTIONS request to /v1/chat/completions with body: {}
[2023-11-22 15:45:12.054] [ERROR] 'messages' field is required.

Make sure the “CORS” is set to on in server settings.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.