kenken999's picture
fda
0f43f8a
raw
history blame
301 Bytes
---
title: Custom Endpoint
---
Simply set `api_base` to any OpenAI compatible server:
<CodeGroup>
```bash Terminal
interpreter --api_base <custom_endpoint>
```
```python Python
from interpreter import interpreter
interpreter.llm.api_base = "<custom_endpoint>"
interpreter.chat()
```
</CodeGroup>