mioku-service-ai 2.1.0 → 2.2.0
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/index.ts +2 -2
- package/package.json +2 -1
package/index.ts
CHANGED
|
@@ -221,7 +221,7 @@ class AIInstanceImpl implements AIInstance {
|
|
|
221
221
|
model: args.model,
|
|
222
222
|
messages: args.messages,
|
|
223
223
|
tools: args.tools,
|
|
224
|
-
|
|
224
|
+
top_p: args.temperature,
|
|
225
225
|
...(args.max_tokens != null && { max_completion_tokens: args.max_tokens }),
|
|
226
226
|
});
|
|
227
227
|
|
|
@@ -267,7 +267,7 @@ class AIInstanceImpl implements AIInstance {
|
|
|
267
267
|
model: args.model,
|
|
268
268
|
messages: args.messages,
|
|
269
269
|
tools: args.tools,
|
|
270
|
-
|
|
270
|
+
top_p: args.temperature,
|
|
271
271
|
stream: true,
|
|
272
272
|
...(args.max_tokens != null && { max_completion_tokens: args.max_tokens }),
|
|
273
273
|
});
|
package/package.json
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mioku-service-ai",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.2.0",
|
|
4
4
|
"description": "为插件提供完整的ai服务支持,包括ai实例管理,提示词管理,skills管理等",
|
|
5
5
|
"main": "index.ts",
|
|
6
6
|
"type": "module",
|
|
7
|
+
"keywords": ["mioku"],
|
|
7
8
|
"repository": {
|
|
8
9
|
"type": "git",
|
|
9
10
|
"url": "https://github.com/mioku-lab/mioku.git"
|