koishi-plugin-chatluna-google-gemini-adapter 1.0.0-beta.21 → 1.0.0-beta.22
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/lib/index.cjs +1 -1
- package/lib/index.mjs +1 -1
- package/package.json +1 -1
package/lib/index.cjs
CHANGED
|
@@ -637,7 +637,7 @@ var Config = import_koishi.Schema.intersect([
|
|
|
637
637
|
maxTokens: import_koishi.Schema.number().description(
|
|
638
638
|
"回复的最大 Token 数(16~2097000,必须是16的倍数)(注意如果你目前使用的模型的最大 Token 为 8000 及以上的话才建议设置超过 512 token)"
|
|
639
639
|
).min(16).max(2097e3).step(16).default(8064),
|
|
640
|
-
temperature: import_koishi.Schema.percent().description("回复温度,越高越随机").min(0).max(
|
|
640
|
+
temperature: import_koishi.Schema.percent().description("回复温度,越高越随机").min(0).max(2).step(0.1).default(0.8)
|
|
641
641
|
}).description("模型设置")
|
|
642
642
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
643
643
|
]);
|
package/lib/index.mjs
CHANGED
|
@@ -630,7 +630,7 @@ var Config = Schema.intersect([
|
|
|
630
630
|
maxTokens: Schema.number().description(
|
|
631
631
|
"回复的最大 Token 数(16~2097000,必须是16的倍数)(注意如果你目前使用的模型的最大 Token 为 8000 及以上的话才建议设置超过 512 token)"
|
|
632
632
|
).min(16).max(2097e3).step(16).default(8064),
|
|
633
|
-
temperature: Schema.percent().description("回复温度,越高越随机").min(0).max(
|
|
633
|
+
temperature: Schema.percent().description("回复温度,越高越随机").min(0).max(2).step(0.1).default(0.8)
|
|
634
634
|
}).description("模型设置")
|
|
635
635
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
636
636
|
]);
|
package/package.json
CHANGED