Connect Helicone with X AI, a platform that provides powerful language models including MoE and Code models for various AI applications.
Create an X AI account
Set HELICONE_API_KEY and X_API_KEY as environment variable
Modify the base URL and add Auth headers
https://api.x.ai/v1/chat/completions
-> https://x.helicone.ai/v1/chat/completions
and then add the following authentication headers: