Skip to main content

Module gitlab

Module gitlab 

Source
Expand description

GitLab Duo provider implementation.

GitLab Duo uses the /api/v4/chat/completions endpoint with a proprietary request/response format (NOT OpenAI-compatible).

Authentication is via a GitLab Personal Access Token (PAT) or OAuth token passed as Authorization: Bearer <token>.

Self-hosted GitLab instances are supported via a configurable base URL (defaults to https://gitlab.com).

bd-3uqg.3.5

Structsยง

GitLabChatRequest
GitLab Duo Chat request body.
GitLabProvider
GitLab Duo provider.