@gitlab/gitlab-ai-provider 3.5.1 → 3.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -282,7 +282,8 @@ var GitLabAnthropicLanguageModel = class {
282
282
  const messages = [];
283
283
  for (const message of prompt) {
284
284
  if (message.role === "system") {
285
- systemMessage = message.content;
285
+ systemMessage = systemMessage ? `${systemMessage}
286
+ ${message.content}` : message.content;
286
287
  continue;
287
288
  }
288
289
  if (message.role === "user") {
@@ -665,6 +666,7 @@ import OpenAI from "openai";
665
666
  var MODEL_MAPPINGS = {
666
667
  // Anthropic models
667
668
  "duo-chat-opus-4-6": { provider: "anthropic", model: "claude-opus-4-6" },
669
+ "duo-chat-sonnet-4-6": { provider: "anthropic", model: "claude-sonnet-4-6" },
668
670
  "duo-chat-opus-4-5": { provider: "anthropic", model: "claude-opus-4-5-20251101" },
669
671
  "duo-chat-sonnet-4-5": { provider: "anthropic", model: "claude-sonnet-4-5-20250929" },
670
672
  "duo-chat-haiku-4-5": { provider: "anthropic", model: "claude-haiku-4-5-20251001" },
@@ -1630,7 +1632,7 @@ var GitLabOAuthManager = class {
1630
1632
  };
1631
1633
 
1632
1634
  // src/version.ts
1633
- var VERSION = true ? "3.5.0" : "0.0.0-dev";
1635
+ var VERSION = true ? "3.6.0" : "0.0.0-dev";
1634
1636
 
1635
1637
  // src/gitlab-provider.ts
1636
1638
  import * as fs from "fs";