forked from CopilotKit/CopilotKit
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathevents.ts
More file actions
35 lines (33 loc) · 1023 Bytes
/
Copy pathevents.ts
File metadata and controls
35 lines (33 loc) · 1023 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
export type AnalyticsEvents = {
"oss.runtime.instance_created": RuntimeInstanceCreatedInfo;
"oss.runtime.copilot_request_created": {
"cloud.guardrails.enabled": boolean;
requestType: string;
"cloud.api_key_provided": boolean;
"cloud.public_api_key"?: string;
"cloud.base_url"?: string;
};
"oss.runtime.agent_execution_stream_started": { hashedLgcKey?: string };
"oss.runtime.agent_execution_stream_ended": AgentExecutionResponseInfo;
"oss.runtime.agent_execution_stream_errored": {
hashedLgcKey?: string;
error?: string;
};
};
export interface RuntimeInstanceCreatedInfo {
actionsAmount: number;
endpointTypes: string[];
hashedLgcKey?: string;
endpointsAmount: number;
agentsAmount?: number | null;
"cloud.api_key_provided": boolean;
"cloud.public_api_key"?: string;
"cloud.base_url"?: string;
}
export interface AgentExecutionResponseInfo {
provider?: string;
model?: string;
langGraphHost?: string;
langGraphVersion?: string;
hashedLgcKey?: string;
}