@ray-js/t-agent 0.2.7-beta.4 → 0.2.7-beta.6
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/README-zh_CN.md +1 -1
- package/README.md +1 -1
- package/dist/plugins/ui.d.ts +1 -1
- package/package.json +2 -2
package/README-zh_CN.md
CHANGED
|
@@ -858,7 +858,7 @@ agent.plugins.aiStream.onUserDataRead((type, data, result) => {
|
|
|
858
858
|
}
|
|
859
859
|
// 在每次发送消息时传递动态上下文
|
|
860
860
|
if (type === 'start-event') {
|
|
861
|
-
result.
|
|
861
|
+
result.eventAttributes = {
|
|
862
862
|
'custom.param': {
|
|
863
863
|
timestamp: { value: Date.now() },
|
|
864
864
|
pid: { value: '123456' },
|
package/README.md
CHANGED
|
@@ -844,7 +844,7 @@ agent.plugins.aiStream.onUserDataRead((type, data, result) => {
|
|
|
844
844
|
}
|
|
845
845
|
// Pass dynamic context each time a message is sent
|
|
846
846
|
if (type === 'start-event') {
|
|
847
|
-
result.
|
|
847
|
+
result.eventAttributes = {
|
|
848
848
|
'custom.param': {
|
|
849
849
|
timestamp: { value: Date.now() },
|
|
850
850
|
pid: { value: '123456' },
|
package/dist/plugins/ui.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ray-js/t-agent",
|
|
3
|
-
"version": "0.2.7-beta.
|
|
3
|
+
"version": "0.2.7-beta.6",
|
|
4
4
|
"author": "Tuya.inc",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"private": false,
|
|
@@ -26,5 +26,5 @@
|
|
|
26
26
|
"build": "ray build --type=component --output dist",
|
|
27
27
|
"clean": "rimraf ./dist"
|
|
28
28
|
},
|
|
29
|
-
"gitHead": "
|
|
29
|
+
"gitHead": "8c74cd727802f09ac6294a88ee72464fc39db49c"
|
|
30
30
|
}
|