| 1 | --- |
| 2 | title: "Text Generation WebUI" |
| 3 | description: "Configure Text Generation WebUI with Continue to use its comprehensive open-source language model UI and local server through its OpenAI-compatible API" |
| 4 | --- |
| 5 | |
| 6 | TextGenWebUI is a comprehensive, open-source language model UI and local server. You can set it up with an OpenAI-compatible server plugin, and then configure it like this: |
| 7 | |
| 8 | <Tabs> |
| 9 | <Tab title="YAML"> |
| 10 | ```yaml title="config.yaml" |
| 11 | models: |
| 12 | - name: Text Generation WebUI |
| 13 | provider: text-gen-webui |
| 14 | apiBase: http://localhost:5000/v1 |
| 15 | model: MODEL_NAME |
| 16 | ``` |
| 17 | </Tab> |
| 18 | <Tab title="JSON"> |
| 19 | ```json title="config.json" |
| 20 | { |
| 21 | "models": [ |
| 22 | { |
| 23 | "title": "Text Generation WebUI", |
| 24 | "provider": "text-gen-webui", |
| 25 | "apiBase": "http://localhost:5000/v1", |
| 26 | "model": "MODEL_NAME" |
| 27 | } |
| 28 | ] |
| 29 | } |
| 30 | ``` |
| 31 | </Tab> |
| 32 | </Tabs> |