@rdmind/rdmind 0.1.1-alpha.2 → 0.1.1-alpha.3
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/cli.js +10 -7
- package/package.json +2 -2
package/cli.js
CHANGED
|
@@ -160375,12 +160375,14 @@ var init_geminiContentGenerator = __esm({
|
|
|
160375
160375
|
}
|
|
160376
160376
|
baseUrl;
|
|
160377
160377
|
apiKey;
|
|
160378
|
+
samplingParams;
|
|
160378
160379
|
userTier;
|
|
160379
160380
|
telemetryService;
|
|
160380
160381
|
errorHandler;
|
|
160381
160382
|
constructor(config2, cliConfig) {
|
|
160382
160383
|
this.baseUrl = config2.baseUrl || "https://runway.devops.rednote.life/openai/google/v1";
|
|
160383
160384
|
this.apiKey = config2.apiKey || "";
|
|
160385
|
+
this.samplingParams = config2.samplingParams;
|
|
160384
160386
|
if (!this.apiKey) {
|
|
160385
160387
|
throw new Error("Gemini API key is required");
|
|
160386
160388
|
}
|
|
@@ -160487,12 +160489,13 @@ var init_geminiContentGenerator = __esm({
|
|
|
160487
160489
|
parts: [{ text: systemInstruction }]
|
|
160488
160490
|
};
|
|
160489
160491
|
}
|
|
160492
|
+
const temperature = this.samplingParams?.temperature ?? 1;
|
|
160490
160493
|
return {
|
|
160491
160494
|
body: {
|
|
160492
160495
|
contents: this.sanitizeContents(request4.contents),
|
|
160493
160496
|
generationConfig: {
|
|
160494
160497
|
...generationConfig,
|
|
160495
|
-
temperature
|
|
160498
|
+
temperature
|
|
160496
160499
|
},
|
|
160497
160500
|
tools,
|
|
160498
160501
|
systemInstruction: formattedSystemInstruction
|
|
@@ -160717,7 +160720,7 @@ function createContentGeneratorConfig(config2, authType, generationConfig) {
|
|
|
160717
160720
|
};
|
|
160718
160721
|
}
|
|
160719
160722
|
async function createContentGenerator(config2, gcConfig, sessionId2, isInitialAuth) {
|
|
160720
|
-
const version3 = "0.1.1-alpha.
|
|
160723
|
+
const version3 = "0.1.1-alpha.3";
|
|
160721
160724
|
const userAgent2 = `QwenCode/${version3} (${process.platform}; ${process.arch})`;
|
|
160722
160725
|
const baseHeaders = {
|
|
160723
160726
|
"User-Agent": userAgent2
|
|
@@ -178186,7 +178189,7 @@ var init_turn = __esm({
|
|
|
178186
178189
|
yield { type: "content" /* Content */, value: text };
|
|
178187
178190
|
}
|
|
178188
178191
|
const functionCalls = resp.functionCalls ?? [];
|
|
178189
|
-
if (resp.candidates?.[0]?.content?.parts) {
|
|
178192
|
+
if (functionCalls.length === 0 && resp.candidates?.[0]?.content?.parts) {
|
|
178190
178193
|
for (const part of resp.candidates[0].content.parts) {
|
|
178191
178194
|
if (part.functionCall) {
|
|
178192
178195
|
functionCalls.push(part.functionCall);
|
|
@@ -235009,8 +235012,8 @@ var init_git_commit = __esm({
|
|
|
235009
235012
|
"packages/core/src/generated/git-commit.ts"() {
|
|
235010
235013
|
"use strict";
|
|
235011
235014
|
init_esbuild_shims();
|
|
235012
|
-
GIT_COMMIT_INFO = "
|
|
235013
|
-
CLI_VERSION = "0.1.1-alpha.
|
|
235015
|
+
GIT_COMMIT_INFO = "de3b095";
|
|
235016
|
+
CLI_VERSION = "0.1.1-alpha.3";
|
|
235014
235017
|
}
|
|
235015
235018
|
});
|
|
235016
235019
|
|
|
@@ -345321,7 +345324,7 @@ __name(getPackageJson, "getPackageJson");
|
|
|
345321
345324
|
// packages/cli/src/utils/version.ts
|
|
345322
345325
|
async function getCliVersion() {
|
|
345323
345326
|
const pkgJson = await getPackageJson();
|
|
345324
|
-
return "0.1.1-alpha.
|
|
345327
|
+
return "0.1.1-alpha.3";
|
|
345325
345328
|
}
|
|
345326
345329
|
__name(getCliVersion, "getCliVersion");
|
|
345327
345330
|
|
|
@@ -351607,7 +351610,7 @@ var formatDuration = /* @__PURE__ */ __name((milliseconds) => {
|
|
|
351607
351610
|
|
|
351608
351611
|
// packages/cli/src/generated/git-commit.ts
|
|
351609
351612
|
init_esbuild_shims();
|
|
351610
|
-
var GIT_COMMIT_INFO2 = "
|
|
351613
|
+
var GIT_COMMIT_INFO2 = "de3b095";
|
|
351611
351614
|
|
|
351612
351615
|
// packages/cli/src/utils/systemInfo.ts
|
|
351613
351616
|
async function getNpmVersion() {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rdmind/rdmind",
|
|
3
|
-
"version": "0.1.1-alpha.
|
|
3
|
+
"version": "0.1.1-alpha.3",
|
|
4
4
|
"description": "RDMind - AI-powered coding assistant",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "cli.js",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"locales"
|
|
21
21
|
],
|
|
22
22
|
"config": {
|
|
23
|
-
"sandboxImageUri": "ghcr.io/qwenlm/qwen-code:0.1.1-alpha.
|
|
23
|
+
"sandboxImageUri": "ghcr.io/qwenlm/qwen-code:0.1.1-alpha.3"
|
|
24
24
|
},
|
|
25
25
|
"publishConfig": {
|
|
26
26
|
"access": "public"
|