Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion providers/gitlab/models/duo-chat-gpt-5-6-luna.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
base_model = "openai/gpt-5.6-luna"
name = "Agentic Chat (GPT-5.6 Luna)"
reasoning_options = []
reasoning_options = [{ type = "effort", values = ["none", "low", "medium", "high", "xhigh", "max"] }]

[cost]
input = 0
Expand Down
2 changes: 1 addition & 1 deletion providers/gitlab/models/duo-chat-gpt-5-6-sol.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
base_model = "openai/gpt-5.6-sol"
name = "Agentic Chat (GPT-5.6 Sol)"
reasoning_options = []
reasoning_options = [{ type = "effort", values = ["none", "low", "medium", "high", "xhigh", "max"] }]

[cost]
input = 0
Expand Down
2 changes: 1 addition & 1 deletion providers/gitlab/models/duo-chat-gpt-5-6-terra.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
base_model = "openai/gpt-5.6-terra"
name = "Agentic Chat (GPT-5.6 Terra)"
reasoning_options = []
reasoning_options = [{ type = "effort", values = ["none", "low", "medium", "high", "xhigh", "max"] }]

[cost]
input = 0
Expand Down
2 changes: 1 addition & 1 deletion providers/gitlab/models/duo-chat-opus-4-8.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ release_date = "2026-05-28"
last_updated = "2026-05-28"
attachment = true
reasoning = true
reasoning_options = []
reasoning_options = [{ type = "effort", values = ["low", "medium", "high", "xhigh", "max"] }]
temperature = false
tool_call = true
knowledge = "2026-01-31"
Expand Down
14 changes: 6 additions & 8 deletions providers/gitlab/provider.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
name = "GitLab Duo"
env = ["GITLAB_TOKEN"]
npm = "gitlab-ai-provider"
# Raw HTTP reasoning controls (sources accessed 2026-06-25):
# Reasoning controls (sources accessed 2026-09-04):
# - OpenAI Chat: POST /ai/v1/proxy/openai/v1/chat/completions uses top-level
# `reasoning_effort`; Responses: POST /ai/v1/proxy/openai/v1/responses uses
# `reasoning = { effort = "..." }`.
Expand All @@ -11,11 +8,12 @@ npm = "gitlab-ai-provider"
# `thinking = { type = "enabled", budget_tokens = N }` or
# `thinking = { type = "disabled" }`; effort is `output_config.effort`.
# https://docs.anthropic.com/en/api/messages
# The npm provider obtains a direct-access token, points the native SDKs at
# those proxy bases, but builds fixed request bodies without reasoning fields;
# it does not expose a reasoning passthrough. These raw shapes therefore do not
# make `reasoning_options` available through this configured npm integration.
# gitlab-ai-provider 6.14.0 exposes OpenAI `reasoningEffort` and Anthropic
# `thinking` options through model defaults and per-call provider options.
# https://gitlab.com/vglafirov/gitlab-ai-provider/-/blob/main/src/gitlab-direct-access.ts
# https://gitlab.com/vglafirov/gitlab-ai-provider/-/blob/main/src/gitlab-openai-language-model.ts
# https://gitlab.com/vglafirov/gitlab-ai-provider/-/blob/main/src/gitlab-anthropic-language-model.ts
name = "GitLab Duo"
env = ["GITLAB_TOKEN"]
npm = "gitlab-ai-provider"
doc = "https://docs.gitlab.com/user/duo_agent_platform/"
Loading