@tencent-ai/agent-server 0.0.14 → 0.1.0-next.989
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/.genie/dist/backend/index.js +1 -1
- package/README.md +3 -8
- package/package.json +3 -5
package/README.md
CHANGED
|
@@ -10,15 +10,10 @@ npm i @tencent-ai/agent-server
|
|
|
10
10
|
在项目根目录下新建.env文件,配置相关的OPEN API的信息
|
|
11
11
|
|
|
12
12
|
```
|
|
13
|
-
|
|
13
|
+
# OpenAI API Key
|
|
14
|
+
OPENAI_API_KEY=
|
|
15
|
+
MODEL_NAME=
|
|
14
16
|
BASE_URL=
|
|
15
|
-
TOKEN=
|
|
16
|
-
|
|
17
|
-
MAX_STEPS=5
|
|
18
|
-
MAX_RETRIES=3
|
|
19
|
-
MAX_TOKENS=4096
|
|
20
|
-
TEMPERATURE=0.1
|
|
21
|
-
|
|
22
17
|
```
|
|
23
18
|
|
|
24
19
|
### 启动服务
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tencent-ai/agent-server",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.1.0-next.989+6b366fc9",
|
|
4
4
|
"description": "Tencent AI Agent Server",
|
|
5
5
|
"main": ".genie/dist/backend/index.js",
|
|
6
6
|
"typings": "lib/node/index.d.ts",
|
|
@@ -9,9 +9,7 @@
|
|
|
9
9
|
"bin": {
|
|
10
10
|
"agent-server": "./bin/agent-server"
|
|
11
11
|
},
|
|
12
|
-
"publishConfig": {
|
|
13
|
-
"access": "public"
|
|
14
|
-
},
|
|
12
|
+
"publishConfig": {},
|
|
15
13
|
"keywords": [
|
|
16
14
|
"agent-server"
|
|
17
15
|
],
|
|
@@ -21,5 +19,5 @@
|
|
|
21
19
|
],
|
|
22
20
|
"scripts": {},
|
|
23
21
|
"devDependencies": {},
|
|
24
|
-
"gitHead": "
|
|
22
|
+
"gitHead": "6b366fc93fc0798efc0a67a458039a8b09a0548f"
|
|
25
23
|
}
|