@adminforth/agent 1.43.25 → 1.43.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/build.log
CHANGED
|
@@ -62,5 +62,5 @@ custom/speech_recognition_frontend/voiceActivityDetection.ts
|
|
|
62
62
|
custom/speech_recognition_frontend/types/
|
|
63
63
|
custom/speech_recognition_frontend/types/voice-activity-detection.d.ts
|
|
64
64
|
|
|
65
|
-
sent 1,666,
|
|
66
|
-
total size is 1,662,
|
|
65
|
+
sent 1,666,161 bytes received 921 bytes 3,334,164.00 bytes/sec
|
|
66
|
+
total size is 1,662,008 speedup is 1.00
|
package/custom/chat.ts
CHANGED
|
@@ -17,10 +17,9 @@ import type {
|
|
|
17
17
|
ChatStatus,
|
|
18
18
|
UIMessage,
|
|
19
19
|
} from 'ai';
|
|
20
|
+
import { AbstractChat, } from 'ai'
|
|
20
21
|
import { Ref, ref } from 'vue';
|
|
21
22
|
|
|
22
|
-
const { AbstractChat } = await import('ai');
|
|
23
|
-
|
|
24
23
|
class VueChatState<
|
|
25
24
|
UI_MESSAGE extends UIMessage,
|
|
26
25
|
> implements ChatState<UI_MESSAGE> {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
import { DefaultChatTransport } from 'ai';
|
|
2
2
|
import { shallowRef, type Ref } from 'vue';
|
|
3
3
|
import { Chat } from '../../chat';
|
|
4
4
|
import { getCurrentPageContext } from './pageContext';
|
|
5
|
-
const { DefaultChatTransport } = await import('ai');
|
|
5
|
+
// const { DefaultChatTransport } = await import('ai');
|
|
6
6
|
|
|
7
7
|
type AgentImportMeta = ImportMeta & {
|
|
8
8
|
env: {
|
package/dist/custom/chat.ts
CHANGED
|
@@ -17,10 +17,9 @@ import type {
|
|
|
17
17
|
ChatStatus,
|
|
18
18
|
UIMessage,
|
|
19
19
|
} from 'ai';
|
|
20
|
+
import { AbstractChat, } from 'ai'
|
|
20
21
|
import { Ref, ref } from 'vue';
|
|
21
22
|
|
|
22
|
-
const { AbstractChat } = await import('ai');
|
|
23
|
-
|
|
24
23
|
class VueChatState<
|
|
25
24
|
UI_MESSAGE extends UIMessage,
|
|
26
25
|
> implements ChatState<UI_MESSAGE> {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
import { DefaultChatTransport } from 'ai';
|
|
2
2
|
import { shallowRef, type Ref } from 'vue';
|
|
3
3
|
import { Chat } from '../../chat';
|
|
4
4
|
import { getCurrentPageContext } from './pageContext';
|
|
5
|
-
const { DefaultChatTransport } = await import('ai');
|
|
5
|
+
// const { DefaultChatTransport } = await import('ai');
|
|
6
6
|
|
|
7
7
|
type AgentImportMeta = ImportMeta & {
|
|
8
8
|
env: {
|