-
x.AI has an API following /chat/completions now - https://docs.x.ai/api/endpoints#chat-completions
-
### 🥰 需求描述
我想要将自己的XAI的API保存到网页中
### 🧐 解决方案
我应该使用什么方式,或者修改什么变量,才能实现将自己的XAI API KEY固定到网页中
### 📝 补充信息
_No response_
-
```py
import asyncio
import xai_sdk
async def main():
client = xai_sdk.Client(api_key="YOUR_API_KEY", api_host="api.x.ai")
prompts = [
"This is a crazy promotion for a new prod…
-
HI I have taken a api key from console.x.ai and used it in scramble settings but while refining my text I am getting an error
Error: Failed to enhance text with Groq. Error: Groq API request failed…
-
### Search before asking
- [X] I have searched the Ultralytics [issues](https://github.com/ultralytics/ultralytics/issues) and found no similar feature requests.
### Description
Hi,
Is there a …
-
### Issue
> /model xai/grok-beta
Warning for xai/grok-beta: Unknown context window size and costs, using sane defaults.
Did you mean one of these?
- xai/grok-beta
Aider v0.62.1
Model: xai/grok…
-
如何配置 XAI
-
-
### 💡 Feature Description and Proposed Solution
https://docs.x.ai/docs
First party support similar to Cohere.
### 🤔 Related Problem
_No response_
### 🤝 Contribution
- [ ] Yes, I'd be happy to…
-
I got some free credits for xAI and thus have an API key, but it keeps saying API Error occured no matter what AI Provider I put, and xAI/Grok is not an option. Is it just incompatible?