---
title: LibreChat | RunAPI
description: Configureer een aangepast LibreChat-eindpunt voor RunAPI, koppel het
  YAML-bestand in Docker, herstart en verifieer een chat.
url: https://runapi.ai/nl/docs/resources/application-practices/librechat.md
canonical: https://runapi.ai/nl/docs/resources/application-practices/librechat
locale: nl
---

> HTML-versie: https://runapi.ai/nl/docs/resources/application-practices/librechat
> Site-index voor agents: https://runapi.ai/llms.txt

# LibreChat

LibreChat aangepaste eindpunten zijn implementatieconfiguratie, geen verbindingsformulier per gebruiker. U hebt toegang nodig tot de LibreChat-implementatiebestanden en een standaard RunAPI API-sleutel uit de [Authenticatiehandleiding](https://runapi.ai/nl/docs/guides/authentication.md).

## LibreChat installeren

Installeer LibreChat met de [officiële lokale installatie][1] of gebruik uw bestaande implementatie. Voltooi de installatie voordat u het aangepaste eindpunt toevoegt.



[1]: https://www.librechat.ai/docs/local

## Het RunAPI-eindpunt toevoegen

Maak `librechat.yaml` aan of werk het bij in de LibreChat-implementatiemap.
Vervang `YOUR_RUNAPI_MODEL_ID` door een actuele identifier uit de [Modelcatalogus](https://runapi.ai/nl/models).

```yaml
version: 1.3.13
endpoints:
  custom:
    - name: "RunAPI"
      apiKey: "${RUNAPI_API_KEY}"
      baseURL: "https://runapi.ai/v1"
      models:
        default: ["YOUR_RUNAPI_MODEL_ID"]
        fetch: true
      titleConvo: true
      titleModel: "current_model"
      modelDisplayLabel: "RunAPI"
```

Sla de sleutel op in `.env`, niet rechtstreeks in het YAML-bestand:

```shell
RUNAPI_API_KEY=YOUR_RUNAPI_API_TOKEN
```

Voor Docker Compose zorgt u ervoor dat `docker-compose.override.yml` het
configuratibestand koppelt:

```yaml
services:
  api:
    volumes:
      - ./librechat.yaml:/app/librechat.yaml
```

Start de LibreChat-implementatie opnieuw op nadat u een van deze bestanden hebt gewijzigd.

## Een model selecteren

`models.default` garandeert ten minste één bekend model. Met `models.fetch: true` vraagt LibreChat ook de huidige modelinventaris op. Houd een geldig standaard-id bij, zelfs wanneer detectie is ingeschakeld, zodat het eindpunt bruikbaar blijft als detectie tijdelijk niet beschikbaar is.

## De verbinding verifiëren

Selecteer na het opnieuw opstarten **RunAPI** uit de eindpuntselector, kies het geconfigureerde model en stuur `Reply with the word connected.` Een normale reactie bevestigt zowel de implementatieconfiguratie als het modelverzoek.

## Probleemoplossing

* **RunAPI ontbreekt in de eindpuntselector:** valideer de YAML-inspringing,
  controleer of `docker-compose.override.yml` het bestand koppelt en herstart
  de API-container.
* **Het eindpunt laadt maar authenticatie mislukt:** controleer of `.env`
  `RUNAPI_API_KEY` definieert voor de API-container en maak de container opnieuw
  aan als de omgeving verouderd is.
* **Er verschijnen geen opgehaalde modellen:** houd één actuele identificator in
  `models.default`, controleer of `baseURL` eindigt op `/v1` en raadpleeg de
  logboeken van de API-container.
* **LibreChat negeert bewerkte YAML:** controleer het hostpad en het containerpad
  in de volumekoppeling om te bevestigen dat ze verwijzen naar het gewijzigde bestand.

Gebruik de [LLM API-snelstart](https://runapi.ai/nl/docs/guides/llm-api/quickstart.md) voor het gedeelde protocolgedrag. Gebruik de [Chat Completions API-referentie](https://runapi.ai/nl/docs/api/openai/chat-completions.md) voor aanvraag- en antwoordvelden.

---

## Meer van RunAPI

- [Home](https://runapi.ai/nl/.md)
- [Modelcatalogus](https://runapi.ai/nl/models.md)
- [Prijzen](https://runapi.ai/nl/pricing.md)
- [Providers](https://runapi.ai/nl/models)
- [Documentatie](https://runapi.ai/nl/docs/guides)
- [SDK's](https://runapi.ai/nl/sdk.md)
- [CLI](https://runapi.ai/nl/cli.md)
- [MCP Server](https://runapi.ai/nl/mcp.md)
- [Claude Code vs Cursor](https://runapi.ai/nl/claude-code-vs-cursor.md)
- [Cursor API instellen](https://runapi.ai/nl/cursor-api-setup.md)
- [RunAPI vs OpenRouter](https://runapi.ai/nl/openrouter-alternative.md)
- [Enterprise](https://runapi.ai/nl/contact.md)
- [Contact](https://runapi.ai/nl/contact.md)
- [Voorwaarden](https://runapi.ai/nl/terms.md)
- [Privacy](https://runapi.ai/nl/privacy.md)
- [Site-index voor agents](https://runapi.ai/llms.txt)

Contact: contact@runapi.ai

## Gestructureerde gegevens

```json
[
  {
    "@context": "https://schema.org",
    "inLanguage": "nl",
    "@type": "WebSite",
    "name": "RunAPI",
    "url": "https://runapi.ai/nl",
    "potentialAction": {
      "@type": "SearchAction",
      "target": {
        "@type": "EntryPoint",
        "urlTemplate": "https://runapi.ai/nl/models?q={search_term_string}"
      },
      "query-input": "required name=search_term_string"
    }
  },
  {
    "@context": "https://schema.org",
    "inLanguage": "nl",
    "@type": "Organization",
    "name": "RunAPI",
    "url": "https://runapi.ai/nl",
    "logo": {
      "@type": "ImageObject",
      "url": "https://runapi.ai/nlicon.svg"
    },
    "sameAs": [
      "https://github.com/runapi-ai"
    ]
  },
  {
    "@context": "https://schema.org",
    "inLanguage": "nl",
    "@type": "TechArticle",
    "headline": "LibreChat",
    "description": "Configureer een aangepast LibreChat-eindpunt voor RunAPI, koppel het YAML-bestand in Docker, herstart en verifieer een chat.",
    "url": "https://runapi.ai/nl/docs/resources/application-practices/librechat",
    "mainEntityOfPage": "https://runapi.ai/nl/docs/resources/application-practices/librechat"
  }
]
```
