gitlab-ai-provider 5.2.1 → 5.2.2
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/CHANGELOG.md +4 -0
- package/dist/gitlab-ai-provider-5.2.2.tgz +0 -0
- package/dist/index.js +5 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/dist/gitlab-ai-provider-5.2.1.tgz +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
## <small>5.2.2 (2026-03-20)</small>
|
|
6
|
+
|
|
7
|
+
- fix: save GraphQL defaultModel as selectedModelRef on first discovery ([5181f71](https://gitlab.com/vglafirov/gitlab-ai-provider/commit/5181f71))
|
|
8
|
+
|
|
5
9
|
## <small>5.2.1 (2026-03-20)</small>
|
|
6
10
|
|
|
7
11
|
- fix: cache workflow model discovery to file and resolve model name on selection ([8ba7056](https://gitlab.com/vglafirov/gitlab-ai-provider/commit/8ba7056))
|
|
Binary file
|
package/dist/index.js
CHANGED
|
@@ -1577,7 +1577,7 @@ var GitLabOpenAILanguageModel = class {
|
|
|
1577
1577
|
var import_isomorphic_ws = __toESM(require("isomorphic-ws"));
|
|
1578
1578
|
|
|
1579
1579
|
// src/version.ts
|
|
1580
|
-
var VERSION = true ? "5.2.
|
|
1580
|
+
var VERSION = true ? "5.2.1" : "0.0.0-dev";
|
|
1581
1581
|
|
|
1582
1582
|
// src/gitlab-workflow-types.ts
|
|
1583
1583
|
var WorkflowType = /* @__PURE__ */ ((WorkflowType2) => {
|
|
@@ -4574,6 +4574,10 @@ async function discoverWorkflowModels(config, options) {
|
|
|
4574
4574
|
});
|
|
4575
4575
|
const discovered = await discovery.discover(`gid://gitlab/Group/${namespaceId}`);
|
|
4576
4576
|
cache.saveDiscovery(discovered, project);
|
|
4577
|
+
if (!cache.getSelectedModelRef()) {
|
|
4578
|
+
const pick = discovered.pinnedModel ?? discovered.defaultModel;
|
|
4579
|
+
if (pick) cache.saveSelection(pick.ref, pick.name);
|
|
4580
|
+
}
|
|
4577
4581
|
return buildModels(discovered, project);
|
|
4578
4582
|
}
|
|
4579
4583
|
// Annotate the CommonJS export names for ESM import in node:
|