Skip to content

Commit

Permalink
chore(plugin-common): add overrides for dependencies and update koish…
Browse files Browse the repository at this point in the history
…i-plugin-chatluna-knowledge-chat version
  • Loading branch information
dingyi222666 committed Jan 27, 2025
1 parent c306815 commit ccb2394
Show file tree
Hide file tree
Showing 2 changed files with 83 additions and 85 deletions.
166 changes: 83 additions & 83 deletions packages/plugin-common/package.json
Original file line number Diff line number Diff line change
@@ -1,89 +1,89 @@
{
"name": "koishi-plugin-chatluna-plugin-common",
"description": "plugin service for plugin chat mode chatluna",
"version": "1.0.0-rc.3",
"main": "lib/index.cjs",
"module": "lib/index.mjs",
"typings": "lib/index.d.ts",
"files": [
"lib",
"dist"
],
"exports": {
".": {
"types": "./lib/index.d.ts",
"import": "./lib/index.mjs",
"require": "./lib/index.cjs"
},
"./package.json": "./package.json"
},
"type": "module",
"author": "dingyi222666 <[email protected]>",
"repository": {
"type": "git",
"url": "https://github.com/ChatLunaLab/chatluna.git",
"directory": "packages/plugin-common"
},
"license": "AGPL-3.0",
"bugs": {
"url": "https://github.com/ChatLunaLab/chatluna/issues"
},
"homepage": "https://github.com/ChatLunaLab/chatluna/tree/v1-dev/packages/plugin-common#readme",
"scripts": {
"build": "atsc -b"
},
"resolutions": {
"@langchain/core": "0.3.18",
"js-tiktoken": "npm:@dingyi222666/js-tiktoken@^1.0.15"
"name": "koishi-plugin-chatluna-plugin-common",
"description": "plugin service for plugin chat mode chatluna",
"version": "1.0.0-rc.3",
"main": "lib/index.cjs",
"module": "lib/index.mjs",
"typings": "lib/index.d.ts",
"files": [
"lib",
"dist"
],
"exports": {
".": {
"types": "./lib/index.d.ts",
"import": "./lib/index.mjs",
"require": "./lib/index.cjs"
},
"./package.json": "./package.json"
},
"type": "module",
"author": "dingyi222666 <[email protected]>",
"repository": {
"type": "git",
"url": "https://github.com/ChatLunaLab/chatluna.git",
"directory": "packages/plugin-common"
},
"license": "AGPL-3.0",
"bugs": {
"url": "https://github.com/ChatLunaLab/chatluna/issues"
},
"homepage": "https://github.com/ChatLunaLab/chatluna/tree/v1-dev/packages/plugin-common#readme",
"scripts": {
"build": "atsc -b"
},
"resolutions": {
"@langchain/core": "0.3.18",
"js-tiktoken": "npm:@dingyi222666/js-tiktoken@^1.0.15"
},
"overrides": {
"@langchain/core": "0.3.18",
"js-tiktoken": "npm:@dingyi222666/js-tiktoken@^1.0.15"
},
"pnpm": {
"overrides": {
"@langchain/core": "0.3.18",
"js-tiktoken": "npm:@dingyi222666/js-tiktoken@^1.0.15"
},
"pnpm": {
"overrides": {
"@langchain/core": "0.3.18",
"js-tiktoken": "npm:@dingyi222666/js-tiktoken@^1.0.15"
}
},
"keywords": [
"chatbot",
"koishi",
"plugin",
"service",
"chatluna",
"vectorstore"
],
"dependencies": {
"@e2b/code-interpreter": "^1.0.4",
"@langchain/core": "^0.3.18",
"zod": "^3.24.0-canary.20241107T043915"
},
"devDependencies": {
"@types/uuid": "^10.0.0",
"atsc": "^2.1.0",
"koishi": "^4.18.4",
"koishi-plugin-chatluna-knowledge-chat": "^1.0.20"
},
"peerDependencies": {
"koishi": "^4.18.4",
"koishi-plugin-chatluna": "^1.0.0-beta.154",
"koishi-plugin-chatluna-knowledge-chat": "^1.0.20"
},
"peerDependenciesMeta": {
"koishi-plugin-chatluna-knowledge-chat": {
"optional": true
}
"@langchain/core": "0.3.18",
"js-tiktoken": "npm:@dingyi222666/js-tiktoken@^1.0.15"
}
},
"keywords": [
"chatbot",
"koishi",
"plugin",
"service",
"chatluna",
"vectorstore"
],
"dependencies": {
"@e2b/code-interpreter": "^1.0.4",
"@langchain/core": "^0.3.18",
"zod": "^3.24.0-canary.20241107T043915"
},
"devDependencies": {
"@types/uuid": "^10.0.0",
"atsc": "^2.1.0",
"koishi": "^4.18.4",
"koishi-plugin-chatluna-knowledge-chat": "^1.0.21"
},
"peerDependencies": {
"koishi": "^4.18.4",
"koishi-plugin-chatluna": "^1.0.0-beta.154",
"koishi-plugin-chatluna-knowledge-chat": "^1.0.21"
},
"peerDependenciesMeta": {
"koishi-plugin-chatluna-knowledge-chat": {
"optional": true
}
},
"koishi": {
"description": {
"zh": "ChatLuna 插件聊天模式的功能集(图像生成、代码执行、网络请求、文件操作、定时任务、Koishi 命令执行等)",
"en": "Core functionalities for ChatLuna's plugin chat mode (image gen, code exec, network, file ops, scheduling, memory, Koishi cmds, etc.)"
},
"koishi": {
"description": {
"zh": "ChatLuna 插件聊天模式的功能集(图像生成、代码执行、网络请求、文件操作、定时任务、Koishi 命令执行等)",
"en": "Core functionalities for ChatLuna's plugin chat mode (image gen, code exec, network, file ops, scheduling, memory, Koishi cmds, etc.)"
},
"service": {
"required": [
"chatluna"
]
}
"service": {
"required": [
"chatluna"
]
}
}
}
2 changes: 0 additions & 2 deletions packages/qwen-adapter/src/requester.ts
Original file line number Diff line number Diff line change
Expand Up @@ -194,8 +194,6 @@ export class QWenRequester

const body = JSON.stringify(data)

console.log('QWen Request', body)

return this._plugin.fetch(requestUrl, {
body,
headers: this._buildHeaders(!url.includes('text-embedding')),
Expand Down

0 comments on commit ccb2394

Please sign in to comment.