AI Assistant (Grok)
Setup
- Get API key from xAI Console
- Open QuickLink → Search “Settings”
- Enter API key and save
Usage
Start a New Chat
- Open QuickLink (Ctrl+Shift+A)
- Type your question in the main search box
- Select “Start conversation” and press Enter
This opens the chat panel and sends your initial prompt.
Continue Your Last Chat
- Open QuickLink (Ctrl+Shift+A)
- Search for “Open last conversation” and press Enter
This restores the last chat from the current app session.
Features
- Streaming Responses - See answers as they’re generated
- Conversation History - Continue multi-turn conversations within the current app session
- Direct Answers - Configured to answer without unnecessary filler
- Short & Focused - Responses limited to 500 tokens for quick answers
- Quick Restore - The last conversation can be restored after you close/hide the chat panel
- Fast Model - Uses Grok 4.1 fast for quick responses
Restore Conversation
Your last conversation is saved in memory while the app is running. To continue it:
- Open QuickLink (press Ctrl+Shift+A)
- Search for “Open last conversation”
- Press Enter
Examples
How do I parse JSON in Python?
What's async/await syntax in JavaScript?
When was Python 3.11 released?
Tips
- Be specific - “How do I handle errors in async functions?” works better than “errors”
- Context helps - Mention the language/framework: “How to loop in Rust?”
- Follow-up questions - You can ask clarifying questions in the same conversation
- Copy answers - Long answers will scroll; use your terminal if you need to copy large responses
Troubleshooting
“API Key Invalid”
- Verify your key is correct at xAI Console
- Check that you’re not rate-limited
- Try regenerating your key
No response
- Check your internet connection
- Verify the API key is saved correctly
- Check for any xAI service status issues
Slow responses
- xAI services may be under load
- Try simpler questions first
- Wait a moment and try again
Privacy
- Your questions are sent to xAI servers
- Conversations are processed through xAI’s infrastructure
- Check xAI’s privacy policy for details on data handling
- Avoid sending sensitive information (passwords, tokens, etc.)
Cost
Using the Grok API requires:
- A free or paid xAI account
- xAI has different pricing tiers
- Check xAI pricing for current costs
- Free tier has rate limits
Model Information
- Model:
grok-4-1-fast-non-reasoning - Provider: xAI
- Response Format: Streaming
- Max Tokens: 500 (configurable)
- Temperature: Optimized for accuracy