Closed blindwit closed 3 months ago
Doing some digging, it turns out that your interaction with the server triggers a CORS violation unless CORS is turned on explicitly on the server. I'll close the issue, but will leave it up so anyone running across the same issue knows the fix: Ensure CORS is turned ON on the lm studio service, or you will return failure.
Resolved.
Here are the log entries within the LM service when the issue happens:
[2024-06-28 08:48:00.164] [INFO] [LM STUDIO SERVER] Processing queued request... [2024-06-28 08:48:00.164] [INFO] Received OPTIONS request to /v1/chat/completions with body: {} [2024-06-28 08:48:00.165] [ERROR] 'messages' field is required
It appears that the form is pushing the request to the service; however, it's sending an empty body.
I am running the form through Edge (as suggested) as running through FF results in no AI voice options loading.