@chatluna/v1-shared-adapter 1.0.26 → 1.0.27
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 +0 -1
- package/lib/index.mjs +0 -1
- package/package.json +2 -2
package/lib/index.cjs
CHANGED
|
@@ -194,7 +194,6 @@ async function langchainMessageToOpenAIMessage(messages, plugin, model, supportI
|
|
|
194
194
|
const result = [];
|
|
195
195
|
const normalizedModel = model ? normalizeOpenAIModelName(model) : model;
|
|
196
196
|
const isDeepseekThinkModel = normalizedModel?.includes("deepseek-reasoner");
|
|
197
|
-
console.log(messages);
|
|
198
197
|
for (const rawMessage of messages) {
|
|
199
198
|
const role = messageTypeToOpenAIRole(rawMessage.getType());
|
|
200
199
|
const msg = {
|
package/lib/index.mjs
CHANGED
|
@@ -158,7 +158,6 @@ async function langchainMessageToOpenAIMessage(messages, plugin, model, supportI
|
|
|
158
158
|
const result = [];
|
|
159
159
|
const normalizedModel = model ? normalizeOpenAIModelName(model) : model;
|
|
160
160
|
const isDeepseekThinkModel = normalizedModel?.includes("deepseek-reasoner");
|
|
161
|
-
console.log(messages);
|
|
162
161
|
for (const rawMessage of messages) {
|
|
163
162
|
const role = messageTypeToOpenAIRole(rawMessage.getType());
|
|
164
163
|
const msg = {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@chatluna/v1-shared-adapter",
|
|
3
3
|
"description": "chatluna shared adapter",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.27",
|
|
5
5
|
"main": "lib/index.cjs",
|
|
6
6
|
"module": "lib/index.mjs",
|
|
7
7
|
"typings": "lib/index.d.ts",
|
|
@@ -70,6 +70,6 @@
|
|
|
70
70
|
},
|
|
71
71
|
"peerDependencies": {
|
|
72
72
|
"koishi": "^4.18.9",
|
|
73
|
-
"koishi-plugin-chatluna": "^1.3.
|
|
73
|
+
"koishi-plugin-chatluna": "^1.3.22"
|
|
74
74
|
}
|
|
75
75
|
}
|