aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/chatbot
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2025-02-25 22:50:00 -0500
committerbobzel <zzzman@gmail.com>2025-02-25 22:50:00 -0500
commit964230a71ce9c2d1171257037592fe40bbbcdc7b (patch)
tree8b5b915de8c679b9af64841f836b140a79cb3b36 /src/client/views/nodes/chatbot
parent331fda3f5017b93a34ddee8a78b05c94ed420308 (diff)
more compile fixes.
Diffstat (limited to 'src/client/views/nodes/chatbot')
-rw-r--r--src/client/views/nodes/chatbot/types/types.ts6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/client/views/nodes/chatbot/types/types.ts b/src/client/views/nodes/chatbot/types/types.ts
index 995ac531d..882e74ebb 100644
--- a/src/client/views/nodes/chatbot/types/types.ts
+++ b/src/client/views/nodes/chatbot/types/types.ts
@@ -1,6 +1,3 @@
-import { indexes } from 'd3';
-import { AnyLayer } from 'react-map-gl';
-
export enum ASSISTANT_ROLE {
USER = 'user',
ASSISTANT = 'assistant',
@@ -122,9 +119,8 @@ export interface AI_Document {
type: string;
}
+export type Observation = { type: 'text'; text: string } | { type: 'image_url'; image_url: { url: string } };
export interface AgentMessage {
role: 'system' | 'user' | 'assistant';
content: string | Observation[];
}
-
-export type Observation = { type: 'text'; text: string } | { type: 'image_url'; image_url: { url: string } };