xAI API proxy on Netlify Edge

This project is forked from palm-netlify-proxy

Tips: This project uses a reverse proxy to solve problems such as location restrictions in xAI APIs.

If you have any of the following requirements, you may need the support of this project.

  1. When you see the error message "User location is not supported for the API use" when calling the xAI API
  2. You want to customize the xAI PaLM API

For technical discussions, please visit https://simonmy.com/posts/使用netlify反向代理google-palm-api.html