chore: update gitlab-ai-provider to 3.1.1 and remove unused parameter (#8424)

This commit is contained in:
Vladimir Glafirov
2026-01-14 16:34:02 +01:00
committed by GitHub
parent 6e13e2f74e
commit 0ce849c3d5
3 changed files with 4 additions and 6 deletions

View File

@@ -416,10 +416,8 @@ export namespace Provider {
...(providerConfig?.options?.featureFlags || {}),
},
},
async getModel(sdk: ReturnType<typeof createGitLab>, modelID: string, options?: { anthropicModel?: string }) {
const anthropicModel = options?.anthropicModel
async getModel(sdk: ReturnType<typeof createGitLab>, modelID: string) {
return sdk.agenticChat(modelID, {
anthropicModel,
featureFlags: {
duo_agent_platform_agentic_chat: true,
duo_agent_platform: true,