agnaistic/agnai

add rapidapi.com support

Opened this issue · 0 comments

Is your feature request related to a problem? Please describe.
sadly you can't use rapidapi.com with agnai

Describe the solution you'd like
add a type in presets called "rapidapi" with rapidapi reverse proxies support since u need 2 custom headers called x-rapidapi-host: cheapest-gpt-4-turbo-gpt-4-vision-chatgpt-openai-ai-api.p.rapidapi.com and x-rapidapi-key

Describe alternatives you've considered

Additional context
rapid api has gpt4 and gpt4o for much cheaper than it is on openai, here's a link for the reverseproxy they offer even for free https://rapidapi.com/NextAPI/api/cheapest-gpt-4-turbo-gpt-4-vision-chatgpt-openai-ai-api