Hello,
I am wondering if the following code would not be the cause of my issue when trying to use CodeGPT Remote server (localhost) with LM Studio, which give me the following error (last line) :
|
return buildHttpRequest(request, "/completion"); |
[2024-03-29 10:12:29.205] [INFO] [LM STUDIO SERVER] Verbose server logs are ENABLED
[2024-03-29 10:12:29.208] [INFO] [LM STUDIO SERVER] Success! HTTP server listening on port 1234
[2024-03-29 10:12:29.208] [INFO] [LM STUDIO SERVER] Supported endpoints:
[2024-03-29 10:12:29.208] [INFO] [LM STUDIO SERVER] -> GET http://localhost:1234/v1/models
[2024-03-29 10:12:29.209] [INFO] [LM STUDIO SERVER] -> POST http://localhost:1234/v1/chat/completions
[2024-03-29 10:12:29.209] [INFO] [LM STUDIO SERVER] -> POST http://localhost:1234/v1/completions
[2024-03-29 10:12:46.517] [ERROR] Unexpected endpoint or method. (POST /v1/completion). Returning 200 anyway
The other API does use completions (plural), so I am wondering with which server completion (singular) is used ?
Thank you