https://github.com/llm-workflow-engine/lwe-plugin-provider-chat-xai
LLM Workflow Engine (LWE) Chat xAI Provider plugin
https://github.com/llm-workflow-engine/lwe-plugin-provider-chat-xai
Last synced: 11 months ago
JSON representation
LLM Workflow Engine (LWE) Chat xAI Provider plugin
- Host: GitHub
- URL: https://github.com/llm-workflow-engine/lwe-plugin-provider-chat-xai
- Owner: llm-workflow-engine
- Created: 2025-05-03T22:12:08.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-07-11T00:09:24.000Z (12 months ago)
- Last Synced: 2025-07-11T05:53:13.195Z (12 months ago)
- Language: Python
- Size: 3.91 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# LLM Workflow Engine (LWE) Chat xAI Provider plugin
x AI Provider plugin for [LLM Workflow Engine](https://github.com/llm-workflow-engine/llm-workflow-engine)
Access to [xAI](https://x.ai) chat models.
## Installation
### Export API key
Grab an xAI API key from [https://console.x.ai](https://console.x.ai)
Export the key into your local environment:
```bash
export XAI_API_KEY=
```
### From packages
Install the latest version of this software directly from github with pip:
```bash
pip install git+https://github.com/llm-workflow-engine/lwe-plugin-provider-chat-xai
```
### From source (recommended for development)
Install the latest version of this software directly from git:
```bash
git clone https://github.com/llm-workflow-engine/lwe-plugin-provider-chat-xai.git
```
Install the development package:
```bash
cd lwe-plugin-provider-chat-xai
pip install -e .
```
## Configuration
Add the following to `config.yaml` in your profile:
```yaml
plugins:
enabled:
- provider_chat_xai
# Any other plugins you want enabled...
```
## Usage
From a running LWE shell:
```
/provider chat_xai
/model model_name grok-3
```