Write me a py script that sends a post to https://kairo-api.kys.gay/api/gpt with…
- User
user: Write me a py script that sends a post to https://kairo-api.kys.gay/api/gpt with payload: prompt: msg, model: selectedModel, cvid: id, web: (true or false), make it so it asks the user if they want to enabel web after every input, also cvid should be from the json the (conversation_id), also the ai response is "message" PROMPT: user: Write me a py script that sends a post to https://kairo-api.kys.gay/api/gpt with payload: prompt: msg, model: selectedModel, cvid: id, web: (true or false), make it so it asks the user if they want to enabel web after every input, also cvid should be from the json the (conversation_id), also the ai response is "message"
- Assistant
Certainly! Below is a Python script that accomplishes what you've described. Make sure that you have the necessary Python environment and dependencies installed, such as .