You’re sending the request to the wrong URL.
POST /v1 is not a valid endpoint. Use one of these instead:
- Chat Completions:
https://api.pawan.krd/v1/chat/completions - Completions:
https://api.pawan.krd/v1/completions
If you’re using a specific model, the base URL must include the model ID too, for example:
https://api.pawan.krd/pkrd/cosmosrp-3.5/v1/chat/completions
Also make sure:
- you include a valid API key on every request
- the model ID is supported
- you’re using the correct method: POST
If you want, paste your current URL and model ID and I can point out the exact fix.
-# This is an automated response from @shell roost. While I strive to provide accurate assistance, I may occasionally make mistakes. If you find any inaccuracies or need further clarification, feel free to wait for our community helpers to give you further guidance.