@mastra/playground-ui 7.0.0-beta.9 → 7.0.0
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/CHANGELOG.md +216 -378
- package/dist/index.cjs.js +4412 -3510
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +4390 -3491
- package/dist/index.es.js.map +1 -1
- package/dist/src/components/assistant-ui/memory-search.d.ts +1 -1
- package/dist/src/components/assistant-ui/messages/user-messages.d.ts +1 -0
- package/dist/src/components/assistant-ui/thread-list.d.ts +2 -0
- package/dist/src/components/assistant-ui/tools/tool-approval.d.ts +8 -0
- package/dist/src/components/assistant-ui/tooltip-icon-button.d.ts +1 -6
- package/dist/src/components/icons/agent-icon.d.ts +3 -0
- package/dist/src/components/icons/automation-icon.d.ts +3 -0
- package/dist/src/components/syntax-highlighter.d.ts +1 -2
- package/dist/src/components/ui/button.d.ts +3 -8
- package/dist/src/components/ui/copyable-content.d.ts +7 -0
- package/dist/src/components/ui/dropdown-menu.d.ts +42 -0
- package/dist/src/components/ui/elements/buttons/button.d.ts +0 -1
- package/dist/src/components/ui/elements/buttons/index.d.ts +0 -1
- package/dist/src/components/ui/elements/entry-list/entry-list-toolbar.d.ts +6 -0
- package/dist/src/components/ui/elements/form-fields/form-actions.d.ts +12 -0
- package/dist/src/components/ui/elements/form-fields/index.d.ts +4 -0
- package/dist/src/components/ui/elements/form-fields/radio-group-field.d.ts +21 -0
- package/dist/src/components/ui/elements/form-fields/search-field.d.ts +1 -4
- package/dist/src/components/ui/elements/form-fields/slider-field.d.ts +15 -0
- package/dist/src/components/ui/elements/form-fields/textarea-field.d.ts +11 -0
- package/dist/src/components/ui/elements/headers/entity-main-header.d.ts +11 -0
- package/dist/src/components/ui/elements/headers/index.d.ts +1 -0
- package/dist/src/components/ui/elements/main-sidebar/main-sidebar.d.ts +1 -1
- package/dist/src/components/ui/elements/side-dialog/side-dialog-footer.d.ts +10 -0
- package/dist/src/components/ui/elements/side-dialog/side-dialog-top.d.ts +2 -1
- package/dist/src/components/ui/formatted-date.d.ts +3 -0
- package/dist/src/components/ui/input.d.ts +1 -1
- package/dist/src/components/ui/resizable.d.ts +23 -0
- package/dist/src/components/ui/score-indicator.d.ts +3 -0
- package/dist/src/components/ui/syntax-highlighter.d.ts +1 -1
- package/dist/src/components/ui/textarea.d.ts +1 -1
- package/dist/src/components/ui/toggle.d.ts +12 -0
- package/dist/src/domains/agents/components/agent-chat.d.ts +1 -2
- package/dist/src/domains/agents/components/agent-entity-header.d.ts +3 -1
- package/dist/src/domains/agents/components/agent-evals.d.ts +8 -0
- package/dist/src/domains/agents/components/agent-information/agent-information.d.ts +0 -25
- package/dist/src/domains/agents/components/agent-information/agent-instructions-enhancer.d.ts +4 -2
- package/dist/src/domains/agents/components/agent-information/current-instructions.d.ts +15 -0
- package/dist/src/domains/agents/components/agent-information/version-actions.d.ts +8 -0
- package/dist/src/domains/agents/components/agent-information/version-history-dialog.d.ts +9 -0
- package/dist/src/domains/agents/components/agent-information/version-history.d.ts +10 -0
- package/dist/src/domains/agents/components/agent-information/version-item.d.ts +14 -0
- package/dist/src/domains/agents/components/agent-metadata/agent-metadata-model-switcher.d.ts +2 -1
- package/dist/src/domains/agents/components/agent-metadata/agent-metadata-prompt.d.ts +4 -0
- package/dist/src/domains/agents/components/agent-metadata/agent-metadata.d.ts +13 -2
- package/dist/src/domains/agents/components/agent-metadata/connection-dot.d.ts +6 -0
- package/dist/src/domains/agents/components/agent-metadata/index.d.ts +1 -0
- package/dist/src/domains/agents/components/agent-metadata/models.d.ts +5 -0
- package/dist/src/domains/agents/components/agent-metadata/provider-status-indicator.d.ts +7 -0
- package/dist/src/domains/agents/components/agent-settings.d.ts +4 -2
- package/dist/src/domains/agents/components/{request-context.d.ts → runtime-context.d.ts} +2 -2
- package/dist/src/domains/agents/context/agent-context.d.ts +1 -2
- package/dist/src/domains/agents/context/index.d.ts +1 -1
- package/dist/src/domains/agents/context/model-reset-context.d.ts +4 -0
- package/dist/src/domains/agents/hooks/use-agent-settings-state.d.ts +1 -2
- package/dist/src/domains/agents/hooks/use-execute-agent-tool.d.ts +1 -1
- package/dist/src/domains/agents/hooks/use-prompt-enhancer.d.ts +13 -5
- package/dist/src/domains/agents/hooks/use-prompt-versions.d.ts +12 -0
- package/dist/src/domains/agents/index.d.ts +2 -4
- package/dist/src/domains/evals/hooks/index.d.ts +1 -0
- package/dist/src/domains/evals/hooks/use-evals-by-agent-id.d.ts +14 -0
- package/dist/src/domains/evals/index.d.ts +1 -0
- package/dist/src/domains/evals/types.d.ts +23 -0
- package/dist/src/domains/mcps/index.d.ts +0 -1
- package/dist/src/domains/memory/hooks/use-memory.d.ts +9 -8
- package/dist/src/domains/observability/components/helpers.d.ts +6 -4
- package/dist/src/domains/observability/components/index.d.ts +1 -1
- package/dist/src/domains/observability/components/shared.d.ts +5 -2
- package/dist/src/domains/observability/components/span-details.d.ts +2 -2
- package/dist/src/domains/observability/components/span-dialog.d.ts +6 -8
- package/dist/src/domains/observability/components/span-score-list.d.ts +2 -2
- package/dist/src/domains/observability/components/span-scoring.d.ts +1 -4
- package/dist/src/domains/observability/components/span-tabs.d.ts +6 -8
- package/dist/src/domains/observability/components/trace-dialog.d.ts +4 -7
- package/dist/src/domains/observability/components/trace-span-usage.d.ts +2 -2
- package/dist/src/domains/observability/components/trace-timeline-legend.d.ts +6 -0
- package/dist/src/domains/observability/components/trace-timeline-span.d.ts +1 -6
- package/dist/src/domains/observability/components/trace-timeline.d.ts +1 -5
- package/dist/src/domains/observability/components/traces-list.d.ts +3 -3
- package/dist/src/domains/observability/index.d.ts +0 -1
- package/dist/src/domains/observability/types.d.ts +0 -13
- package/dist/src/domains/observability/utils/format-hierarchical-spans.d.ts +2 -2
- package/dist/src/domains/resizable-panel.d.ts +11 -0
- package/dist/src/domains/scores/components/score-dialog.d.ts +1 -1
- package/dist/src/domains/scores/components/score-table.d.ts +11 -0
- package/dist/src/domains/scores/hooks/use-scorers.d.ts +6 -3
- package/dist/src/domains/scores/hooks/use-trace-span-scores.d.ts +1 -1
- package/dist/src/domains/scores/index.d.ts +1 -2
- package/dist/src/domains/tools/components/ToolExecutor.d.ts +1 -1
- package/dist/src/domains/tools/components/index.d.ts +0 -1
- package/dist/src/domains/tools/components/tool-table/types.d.ts +2 -0
- package/dist/src/domains/tools/hooks/use-all-tools.d.ts +1 -3
- package/dist/src/domains/tools/hooks/use-execute-tool.d.ts +1 -1
- package/dist/src/domains/traces/components/traces-table.d.ts +8 -0
- package/dist/src/domains/traces/components/traces-view.d.ts +12 -0
- package/dist/src/domains/traces/context/trace-context.d.ts +20 -0
- package/dist/src/domains/traces/hooks/use-open-trace.d.ts +4 -0
- package/dist/src/domains/traces/index.d.ts +2 -0
- package/dist/src/domains/traces/mock-data.d.ts +1356 -0
- package/dist/src/domains/traces/trace-details.d.ts +1 -0
- package/dist/src/domains/traces/trace-span-details.d.ts +1 -0
- package/dist/src/domains/traces/trace-span-view.d.ts +5 -0
- package/dist/src/domains/traces/traces-sidebar.d.ts +6 -0
- package/dist/src/domains/traces/types.d.ts +55 -0
- package/dist/src/domains/traces/utils/createSpanTree.d.ts +2 -0
- package/dist/src/domains/traces/utils/getSpanVariant.d.ts +3 -0
- package/dist/src/domains/traces/utils.d.ts +12 -0
- package/dist/src/domains/workflows/context/workflow-nested-graph-context.d.ts +7 -1
- package/dist/src/domains/workflows/context/workflow-run-context.d.ts +2 -2
- package/dist/src/domains/workflows/hooks/use-workflows-actions.d.ts +21 -7
- package/dist/src/domains/workflows/index.d.ts +0 -1
- package/dist/src/domains/workflows/workflow/workflow-default-node.d.ts +8 -5
- package/dist/src/domains/workflows/workflow/workflow-graph-inner.d.ts +7 -1
- package/dist/src/domains/workflows/workflow/workflow-graph.d.ts +7 -1
- package/dist/src/domains/workflows/workflow/workflow-nested-graph.d.ts +7 -1
- package/dist/src/domains/workflows/workflow/workflow-nested-node.d.ts +8 -5
- package/dist/src/domains/workflows/workflow/workflow-result.d.ts +5 -0
- package/dist/src/domains/workflows/workflow/workflow-run-event-form.d.ts +12 -0
- package/dist/src/domains/workflows/workflow/workflow-step-action-bar.d.ts +6 -3
- package/dist/src/domains/workflows/workflow/workflow-trigger.d.ts +4 -4
- package/dist/src/ds/components/Alert/Alert.d.ts +1 -1
- package/dist/src/ds/components/Breadcrumb/Breadcrumb.d.ts +1 -2
- package/dist/src/ds/components/Button/Button.d.ts +0 -1
- package/dist/src/ds/components/Logo/MastraLogo.d.ts +1 -1
- package/dist/src/ds/components/Table/Cells.d.ts +3 -0
- package/dist/src/ds/components/TraceTree/Span.d.ts +3 -1
- package/dist/src/ds/icons/EvaluatorCoinIcon.d.ts +2 -0
- package/dist/src/ds/icons/ScoreIcon.d.ts +2 -0
- package/dist/src/ds/icons/index.d.ts +2 -0
- package/dist/src/hooks/use-agent-messages.d.ts +3 -4
- package/dist/src/hooks/use-resize-column.d.ts +12 -0
- package/dist/src/hooks/use-workflow-runs.d.ts +2 -218
- package/dist/src/index.d.ts +5 -3
- package/dist/src/lib/mastra-client.d.ts +2 -0
- package/dist/src/lib/pagination/types.d.ts +11 -0
- package/dist/src/lib/polls.d.ts +36 -0
- package/dist/src/services/mastra-runtime-provider.d.ts +1 -1
- package/dist/src/store/playground-store.d.ts +2 -2
- package/dist/src/types/memory.d.ts +7 -0
- package/dist/src/types.d.ts +3 -1
- package/package.json +25 -30
- package/dist/src/components/ui/combobox.d.ts +0 -17
- package/dist/src/components/ui/elements/buttons/combined-buttons.d.ts +0 -6
- package/dist/src/domains/agents/components/agent-combobox.d.ts +0 -12
- package/dist/src/domains/agents/context/agent-prompt-experiment-context.d.ts +0 -15
- package/dist/src/domains/agents/hooks/use-agents-model-providers.d.ts +0 -1
- package/dist/src/domains/configuration/components/header-list-form.d.ts +0 -10
- package/dist/src/domains/configuration/components/playground-config-guard.d.ts +0 -1
- package/dist/src/domains/configuration/components/studio-config-form.d.ts +0 -5
- package/dist/src/domains/configuration/context/studio-config-context.d.ts +0 -12
- package/dist/src/domains/configuration/hooks/use-mastra-instance-status.d.ts +0 -4
- package/dist/src/domains/configuration/index.d.ts +0 -4
- package/dist/src/domains/configuration/types.d.ts +0 -4
- package/dist/src/domains/mcps/components/mcp-server-combobox.d.ts +0 -12
- package/dist/src/domains/observability/components/span-type-icon.d.ts +0 -6
- package/dist/src/domains/observability/components/timeline-expand-col.d.ts +0 -13
- package/dist/src/domains/observability/components/timeline-name-col.d.ts +0 -16
- package/dist/src/domains/observability/components/timeline-structure-sign.d.ts +0 -7
- package/dist/src/domains/observability/components/timeline-timing-col.d.ts +0 -12
- package/dist/src/domains/observability/components/trace-timeline-tools.d.ts +0 -12
- package/dist/src/domains/observability/components/tracing-run-options.d.ts +0 -1
- package/dist/src/domains/observability/context/tracing-settings-context.d.ts +0 -18
- package/dist/src/domains/observability/hooks/use-tracing-settings-state.d.ts +0 -10
- package/dist/src/domains/observability/utils/__tests__/span-utils.test.d.ts +0 -1
- package/dist/src/domains/observability/utils/get-descendant-ids.d.ts +0 -2
- package/dist/src/domains/observability/utils/span-utils.d.ts +0 -9
- package/dist/src/domains/scores/components/scorer-combobox.d.ts +0 -12
- package/dist/src/domains/tools/components/tool-combobox.d.ts +0 -12
- package/dist/src/domains/workflows/components/workflow-combobox.d.ts +0 -12
- package/dist/src/domains/workflows/workflow/workflow-node-badges.d.ts +0 -55
|
@@ -0,0 +1,1356 @@
|
|
|
1
|
+
export declare const traces_mock_data: ({
|
|
2
|
+
id: string;
|
|
3
|
+
parentSpanId: string;
|
|
4
|
+
traceId: string;
|
|
5
|
+
name: string;
|
|
6
|
+
scope: string;
|
|
7
|
+
kind: number;
|
|
8
|
+
status: {
|
|
9
|
+
code: number;
|
|
10
|
+
message?: undefined;
|
|
11
|
+
};
|
|
12
|
+
events: never[];
|
|
13
|
+
links: never[];
|
|
14
|
+
attributes: {
|
|
15
|
+
componentName: string;
|
|
16
|
+
'operation.name'?: undefined;
|
|
17
|
+
'ai.operationId'?: undefined;
|
|
18
|
+
'ai.model.provider'?: undefined;
|
|
19
|
+
'ai.model.id'?: undefined;
|
|
20
|
+
'ai.settings.maxRetries'?: undefined;
|
|
21
|
+
'ai.prompt.format'?: undefined;
|
|
22
|
+
'ai.prompt.messages'?: undefined;
|
|
23
|
+
'ai.prompt.tools'?: undefined;
|
|
24
|
+
'ai.prompt.toolChoice'?: undefined;
|
|
25
|
+
'gen_ai.system'?: undefined;
|
|
26
|
+
'gen_ai.request.model'?: undefined;
|
|
27
|
+
'ai.response.msToFirstChunk'?: undefined;
|
|
28
|
+
'ai.response.msToFinish'?: undefined;
|
|
29
|
+
'ai.response.avgCompletionTokensPerSecond'?: undefined;
|
|
30
|
+
'ai.response.finishReason'?: undefined;
|
|
31
|
+
'ai.response.text'?: undefined;
|
|
32
|
+
'ai.response.id'?: undefined;
|
|
33
|
+
'ai.response.model'?: undefined;
|
|
34
|
+
'ai.response.timestamp'?: undefined;
|
|
35
|
+
'ai.usage.promptTokens'?: undefined;
|
|
36
|
+
'ai.usage.completionTokens'?: undefined;
|
|
37
|
+
'gen_ai.response.finish_reasons'?: undefined;
|
|
38
|
+
'gen_ai.response.id'?: undefined;
|
|
39
|
+
'gen_ai.response.model'?: undefined;
|
|
40
|
+
'gen_ai.usage.input_tokens'?: undefined;
|
|
41
|
+
'gen_ai.usage.output_tokens'?: undefined;
|
|
42
|
+
'ai.toolCall.name'?: undefined;
|
|
43
|
+
'ai.toolCall.id'?: undefined;
|
|
44
|
+
'ai.toolCall.args'?: undefined;
|
|
45
|
+
'ai.toolCall.result'?: undefined;
|
|
46
|
+
'ai.response.toolCalls'?: undefined;
|
|
47
|
+
'ai.prompt'?: undefined;
|
|
48
|
+
'ai.settings.maxSteps'?: undefined;
|
|
49
|
+
'agent.__primitive.argument.0'?: undefined;
|
|
50
|
+
'agent.__primitive.result'?: undefined;
|
|
51
|
+
'agent.stream.argument.0'?: undefined;
|
|
52
|
+
'agent.stream.argument.1'?: undefined;
|
|
53
|
+
'agent.stream.result'?: undefined;
|
|
54
|
+
'agent.__registerPrimitives.argument.0'?: undefined;
|
|
55
|
+
};
|
|
56
|
+
startTime: number;
|
|
57
|
+
endTime: number;
|
|
58
|
+
other: {
|
|
59
|
+
droppedAttributesCount: number;
|
|
60
|
+
droppedEventsCount: number;
|
|
61
|
+
droppedLinksCount: number;
|
|
62
|
+
};
|
|
63
|
+
createdAt: string;
|
|
64
|
+
} | {
|
|
65
|
+
id: string;
|
|
66
|
+
parentSpanId: string;
|
|
67
|
+
traceId: string;
|
|
68
|
+
name: string;
|
|
69
|
+
scope: string;
|
|
70
|
+
kind: number;
|
|
71
|
+
status: {
|
|
72
|
+
code: number;
|
|
73
|
+
message?: undefined;
|
|
74
|
+
};
|
|
75
|
+
events: {
|
|
76
|
+
attributes: {
|
|
77
|
+
key: string;
|
|
78
|
+
value: {
|
|
79
|
+
doubleValue: number;
|
|
80
|
+
};
|
|
81
|
+
}[];
|
|
82
|
+
name: string;
|
|
83
|
+
timeUnixNano: string;
|
|
84
|
+
droppedAttributesCount: number;
|
|
85
|
+
}[];
|
|
86
|
+
links: never[];
|
|
87
|
+
attributes: {
|
|
88
|
+
'operation.name': string;
|
|
89
|
+
'ai.operationId': string;
|
|
90
|
+
'ai.model.provider': string;
|
|
91
|
+
'ai.model.id': string;
|
|
92
|
+
'ai.settings.maxRetries': number;
|
|
93
|
+
'ai.prompt.format': string;
|
|
94
|
+
'ai.prompt.messages': string;
|
|
95
|
+
'ai.prompt.tools': {
|
|
96
|
+
values: {
|
|
97
|
+
stringValue: string;
|
|
98
|
+
}[];
|
|
99
|
+
};
|
|
100
|
+
'ai.prompt.toolChoice': string;
|
|
101
|
+
'gen_ai.system': string;
|
|
102
|
+
'gen_ai.request.model': string;
|
|
103
|
+
componentName: string;
|
|
104
|
+
'ai.response.msToFirstChunk': number;
|
|
105
|
+
'ai.response.msToFinish': number;
|
|
106
|
+
'ai.response.avgCompletionTokensPerSecond': number;
|
|
107
|
+
'ai.response.finishReason': string;
|
|
108
|
+
'ai.response.text': string;
|
|
109
|
+
'ai.response.id': string;
|
|
110
|
+
'ai.response.model': string;
|
|
111
|
+
'ai.response.timestamp': string;
|
|
112
|
+
'ai.usage.promptTokens': number;
|
|
113
|
+
'ai.usage.completionTokens': number;
|
|
114
|
+
'gen_ai.response.finish_reasons': {
|
|
115
|
+
values: {
|
|
116
|
+
stringValue: string;
|
|
117
|
+
}[];
|
|
118
|
+
};
|
|
119
|
+
'gen_ai.response.id': string;
|
|
120
|
+
'gen_ai.response.model': string;
|
|
121
|
+
'gen_ai.usage.input_tokens': number;
|
|
122
|
+
'gen_ai.usage.output_tokens': number;
|
|
123
|
+
'ai.toolCall.name'?: undefined;
|
|
124
|
+
'ai.toolCall.id'?: undefined;
|
|
125
|
+
'ai.toolCall.args'?: undefined;
|
|
126
|
+
'ai.toolCall.result'?: undefined;
|
|
127
|
+
'ai.response.toolCalls'?: undefined;
|
|
128
|
+
'ai.prompt'?: undefined;
|
|
129
|
+
'ai.settings.maxSteps'?: undefined;
|
|
130
|
+
'agent.__primitive.argument.0'?: undefined;
|
|
131
|
+
'agent.__primitive.result'?: undefined;
|
|
132
|
+
'agent.stream.argument.0'?: undefined;
|
|
133
|
+
'agent.stream.argument.1'?: undefined;
|
|
134
|
+
'agent.stream.result'?: undefined;
|
|
135
|
+
'agent.__registerPrimitives.argument.0'?: undefined;
|
|
136
|
+
};
|
|
137
|
+
startTime: number;
|
|
138
|
+
endTime: number;
|
|
139
|
+
other: {
|
|
140
|
+
droppedAttributesCount: number;
|
|
141
|
+
droppedEventsCount: number;
|
|
142
|
+
droppedLinksCount: number;
|
|
143
|
+
};
|
|
144
|
+
createdAt: string;
|
|
145
|
+
} | {
|
|
146
|
+
id: string;
|
|
147
|
+
parentSpanId: string;
|
|
148
|
+
traceId: string;
|
|
149
|
+
name: string;
|
|
150
|
+
scope: string;
|
|
151
|
+
kind: number;
|
|
152
|
+
status: {
|
|
153
|
+
code: number;
|
|
154
|
+
message?: undefined;
|
|
155
|
+
};
|
|
156
|
+
events: never[];
|
|
157
|
+
links: never[];
|
|
158
|
+
attributes: {
|
|
159
|
+
'operation.name': string;
|
|
160
|
+
'ai.operationId': string;
|
|
161
|
+
'ai.toolCall.name': string;
|
|
162
|
+
'ai.toolCall.id': string;
|
|
163
|
+
'ai.toolCall.args': string;
|
|
164
|
+
componentName: string;
|
|
165
|
+
'ai.toolCall.result': string;
|
|
166
|
+
'ai.model.provider'?: undefined;
|
|
167
|
+
'ai.model.id'?: undefined;
|
|
168
|
+
'ai.settings.maxRetries'?: undefined;
|
|
169
|
+
'ai.prompt.format'?: undefined;
|
|
170
|
+
'ai.prompt.messages'?: undefined;
|
|
171
|
+
'ai.prompt.tools'?: undefined;
|
|
172
|
+
'ai.prompt.toolChoice'?: undefined;
|
|
173
|
+
'gen_ai.system'?: undefined;
|
|
174
|
+
'gen_ai.request.model'?: undefined;
|
|
175
|
+
'ai.response.msToFirstChunk'?: undefined;
|
|
176
|
+
'ai.response.msToFinish'?: undefined;
|
|
177
|
+
'ai.response.avgCompletionTokensPerSecond'?: undefined;
|
|
178
|
+
'ai.response.finishReason'?: undefined;
|
|
179
|
+
'ai.response.text'?: undefined;
|
|
180
|
+
'ai.response.id'?: undefined;
|
|
181
|
+
'ai.response.model'?: undefined;
|
|
182
|
+
'ai.response.timestamp'?: undefined;
|
|
183
|
+
'ai.usage.promptTokens'?: undefined;
|
|
184
|
+
'ai.usage.completionTokens'?: undefined;
|
|
185
|
+
'gen_ai.response.finish_reasons'?: undefined;
|
|
186
|
+
'gen_ai.response.id'?: undefined;
|
|
187
|
+
'gen_ai.response.model'?: undefined;
|
|
188
|
+
'gen_ai.usage.input_tokens'?: undefined;
|
|
189
|
+
'gen_ai.usage.output_tokens'?: undefined;
|
|
190
|
+
'ai.response.toolCalls'?: undefined;
|
|
191
|
+
'ai.prompt'?: undefined;
|
|
192
|
+
'ai.settings.maxSteps'?: undefined;
|
|
193
|
+
'agent.__primitive.argument.0'?: undefined;
|
|
194
|
+
'agent.__primitive.result'?: undefined;
|
|
195
|
+
'agent.stream.argument.0'?: undefined;
|
|
196
|
+
'agent.stream.argument.1'?: undefined;
|
|
197
|
+
'agent.stream.result'?: undefined;
|
|
198
|
+
'agent.__registerPrimitives.argument.0'?: undefined;
|
|
199
|
+
};
|
|
200
|
+
startTime: number;
|
|
201
|
+
endTime: number;
|
|
202
|
+
other: {
|
|
203
|
+
droppedAttributesCount: number;
|
|
204
|
+
droppedEventsCount: number;
|
|
205
|
+
droppedLinksCount: number;
|
|
206
|
+
};
|
|
207
|
+
createdAt: string;
|
|
208
|
+
} | {
|
|
209
|
+
id: string;
|
|
210
|
+
parentSpanId: string;
|
|
211
|
+
traceId: string;
|
|
212
|
+
name: string;
|
|
213
|
+
scope: string;
|
|
214
|
+
kind: number;
|
|
215
|
+
status: {
|
|
216
|
+
code: number;
|
|
217
|
+
message?: undefined;
|
|
218
|
+
};
|
|
219
|
+
events: {
|
|
220
|
+
attributes: {
|
|
221
|
+
key: string;
|
|
222
|
+
value: {
|
|
223
|
+
doubleValue: number;
|
|
224
|
+
};
|
|
225
|
+
}[];
|
|
226
|
+
name: string;
|
|
227
|
+
timeUnixNano: string;
|
|
228
|
+
droppedAttributesCount: number;
|
|
229
|
+
}[];
|
|
230
|
+
links: never[];
|
|
231
|
+
attributes: {
|
|
232
|
+
'operation.name': string;
|
|
233
|
+
'ai.operationId': string;
|
|
234
|
+
'ai.model.provider': string;
|
|
235
|
+
'ai.model.id': string;
|
|
236
|
+
'ai.settings.maxRetries': number;
|
|
237
|
+
'ai.prompt.format': string;
|
|
238
|
+
'ai.prompt.messages': string;
|
|
239
|
+
'ai.prompt.tools': {
|
|
240
|
+
values: {
|
|
241
|
+
stringValue: string;
|
|
242
|
+
}[];
|
|
243
|
+
};
|
|
244
|
+
'ai.prompt.toolChoice': string;
|
|
245
|
+
'gen_ai.system': string;
|
|
246
|
+
'gen_ai.request.model': string;
|
|
247
|
+
componentName: string;
|
|
248
|
+
'ai.response.msToFirstChunk': number;
|
|
249
|
+
'ai.response.msToFinish': number;
|
|
250
|
+
'ai.response.avgCompletionTokensPerSecond': number;
|
|
251
|
+
'ai.response.finishReason': string;
|
|
252
|
+
'ai.response.text': string;
|
|
253
|
+
'ai.response.toolCalls': string;
|
|
254
|
+
'ai.response.id': string;
|
|
255
|
+
'ai.response.model': string;
|
|
256
|
+
'ai.response.timestamp': string;
|
|
257
|
+
'ai.usage.promptTokens': number;
|
|
258
|
+
'ai.usage.completionTokens': number;
|
|
259
|
+
'gen_ai.response.finish_reasons': {
|
|
260
|
+
values: {
|
|
261
|
+
stringValue: string;
|
|
262
|
+
}[];
|
|
263
|
+
};
|
|
264
|
+
'gen_ai.response.id': string;
|
|
265
|
+
'gen_ai.response.model': string;
|
|
266
|
+
'gen_ai.usage.input_tokens': number;
|
|
267
|
+
'gen_ai.usage.output_tokens': number;
|
|
268
|
+
'ai.toolCall.name'?: undefined;
|
|
269
|
+
'ai.toolCall.id'?: undefined;
|
|
270
|
+
'ai.toolCall.args'?: undefined;
|
|
271
|
+
'ai.toolCall.result'?: undefined;
|
|
272
|
+
'ai.prompt'?: undefined;
|
|
273
|
+
'ai.settings.maxSteps'?: undefined;
|
|
274
|
+
'agent.__primitive.argument.0'?: undefined;
|
|
275
|
+
'agent.__primitive.result'?: undefined;
|
|
276
|
+
'agent.stream.argument.0'?: undefined;
|
|
277
|
+
'agent.stream.argument.1'?: undefined;
|
|
278
|
+
'agent.stream.result'?: undefined;
|
|
279
|
+
'agent.__registerPrimitives.argument.0'?: undefined;
|
|
280
|
+
};
|
|
281
|
+
startTime: number;
|
|
282
|
+
endTime: number;
|
|
283
|
+
other: {
|
|
284
|
+
droppedAttributesCount: number;
|
|
285
|
+
droppedEventsCount: number;
|
|
286
|
+
droppedLinksCount: number;
|
|
287
|
+
};
|
|
288
|
+
createdAt: string;
|
|
289
|
+
} | {
|
|
290
|
+
id: string;
|
|
291
|
+
parentSpanId: string;
|
|
292
|
+
traceId: string;
|
|
293
|
+
name: string;
|
|
294
|
+
scope: string;
|
|
295
|
+
kind: number;
|
|
296
|
+
status: {
|
|
297
|
+
code: number;
|
|
298
|
+
message?: undefined;
|
|
299
|
+
};
|
|
300
|
+
events: never[];
|
|
301
|
+
links: never[];
|
|
302
|
+
attributes: {
|
|
303
|
+
'operation.name': string;
|
|
304
|
+
'ai.operationId': string;
|
|
305
|
+
'ai.model.provider': string;
|
|
306
|
+
'ai.model.id': string;
|
|
307
|
+
'ai.settings.maxRetries': number;
|
|
308
|
+
'ai.prompt': string;
|
|
309
|
+
'ai.settings.maxSteps': number;
|
|
310
|
+
componentName: string;
|
|
311
|
+
'ai.response.finishReason': string;
|
|
312
|
+
'ai.response.text': string;
|
|
313
|
+
'ai.usage.promptTokens': number;
|
|
314
|
+
'ai.usage.completionTokens': number;
|
|
315
|
+
'ai.prompt.format'?: undefined;
|
|
316
|
+
'ai.prompt.messages'?: undefined;
|
|
317
|
+
'ai.prompt.tools'?: undefined;
|
|
318
|
+
'ai.prompt.toolChoice'?: undefined;
|
|
319
|
+
'gen_ai.system'?: undefined;
|
|
320
|
+
'gen_ai.request.model'?: undefined;
|
|
321
|
+
'ai.response.msToFirstChunk'?: undefined;
|
|
322
|
+
'ai.response.msToFinish'?: undefined;
|
|
323
|
+
'ai.response.avgCompletionTokensPerSecond'?: undefined;
|
|
324
|
+
'ai.response.id'?: undefined;
|
|
325
|
+
'ai.response.model'?: undefined;
|
|
326
|
+
'ai.response.timestamp'?: undefined;
|
|
327
|
+
'gen_ai.response.finish_reasons'?: undefined;
|
|
328
|
+
'gen_ai.response.id'?: undefined;
|
|
329
|
+
'gen_ai.response.model'?: undefined;
|
|
330
|
+
'gen_ai.usage.input_tokens'?: undefined;
|
|
331
|
+
'gen_ai.usage.output_tokens'?: undefined;
|
|
332
|
+
'ai.toolCall.name'?: undefined;
|
|
333
|
+
'ai.toolCall.id'?: undefined;
|
|
334
|
+
'ai.toolCall.args'?: undefined;
|
|
335
|
+
'ai.toolCall.result'?: undefined;
|
|
336
|
+
'ai.response.toolCalls'?: undefined;
|
|
337
|
+
'agent.__primitive.argument.0'?: undefined;
|
|
338
|
+
'agent.__primitive.result'?: undefined;
|
|
339
|
+
'agent.stream.argument.0'?: undefined;
|
|
340
|
+
'agent.stream.argument.1'?: undefined;
|
|
341
|
+
'agent.stream.result'?: undefined;
|
|
342
|
+
'agent.__registerPrimitives.argument.0'?: undefined;
|
|
343
|
+
};
|
|
344
|
+
startTime: number;
|
|
345
|
+
endTime: number;
|
|
346
|
+
other: {
|
|
347
|
+
droppedAttributesCount: number;
|
|
348
|
+
droppedEventsCount: number;
|
|
349
|
+
droppedLinksCount: number;
|
|
350
|
+
};
|
|
351
|
+
createdAt: string;
|
|
352
|
+
} | {
|
|
353
|
+
id: string;
|
|
354
|
+
parentSpanId: string;
|
|
355
|
+
traceId: string;
|
|
356
|
+
name: string;
|
|
357
|
+
scope: string;
|
|
358
|
+
kind: number;
|
|
359
|
+
status: {
|
|
360
|
+
code: number;
|
|
361
|
+
message?: undefined;
|
|
362
|
+
};
|
|
363
|
+
events: never[];
|
|
364
|
+
links: never[];
|
|
365
|
+
attributes: {
|
|
366
|
+
'agent.__primitive.argument.0': string;
|
|
367
|
+
componentName: string;
|
|
368
|
+
'agent.__primitive.result': string;
|
|
369
|
+
'operation.name'?: undefined;
|
|
370
|
+
'ai.operationId'?: undefined;
|
|
371
|
+
'ai.model.provider'?: undefined;
|
|
372
|
+
'ai.model.id'?: undefined;
|
|
373
|
+
'ai.settings.maxRetries'?: undefined;
|
|
374
|
+
'ai.prompt.format'?: undefined;
|
|
375
|
+
'ai.prompt.messages'?: undefined;
|
|
376
|
+
'ai.prompt.tools'?: undefined;
|
|
377
|
+
'ai.prompt.toolChoice'?: undefined;
|
|
378
|
+
'gen_ai.system'?: undefined;
|
|
379
|
+
'gen_ai.request.model'?: undefined;
|
|
380
|
+
'ai.response.msToFirstChunk'?: undefined;
|
|
381
|
+
'ai.response.msToFinish'?: undefined;
|
|
382
|
+
'ai.response.avgCompletionTokensPerSecond'?: undefined;
|
|
383
|
+
'ai.response.finishReason'?: undefined;
|
|
384
|
+
'ai.response.text'?: undefined;
|
|
385
|
+
'ai.response.id'?: undefined;
|
|
386
|
+
'ai.response.model'?: undefined;
|
|
387
|
+
'ai.response.timestamp'?: undefined;
|
|
388
|
+
'ai.usage.promptTokens'?: undefined;
|
|
389
|
+
'ai.usage.completionTokens'?: undefined;
|
|
390
|
+
'gen_ai.response.finish_reasons'?: undefined;
|
|
391
|
+
'gen_ai.response.id'?: undefined;
|
|
392
|
+
'gen_ai.response.model'?: undefined;
|
|
393
|
+
'gen_ai.usage.input_tokens'?: undefined;
|
|
394
|
+
'gen_ai.usage.output_tokens'?: undefined;
|
|
395
|
+
'ai.toolCall.name'?: undefined;
|
|
396
|
+
'ai.toolCall.id'?: undefined;
|
|
397
|
+
'ai.toolCall.args'?: undefined;
|
|
398
|
+
'ai.toolCall.result'?: undefined;
|
|
399
|
+
'ai.response.toolCalls'?: undefined;
|
|
400
|
+
'ai.prompt'?: undefined;
|
|
401
|
+
'ai.settings.maxSteps'?: undefined;
|
|
402
|
+
'agent.stream.argument.0'?: undefined;
|
|
403
|
+
'agent.stream.argument.1'?: undefined;
|
|
404
|
+
'agent.stream.result'?: undefined;
|
|
405
|
+
'agent.__registerPrimitives.argument.0'?: undefined;
|
|
406
|
+
};
|
|
407
|
+
startTime: number;
|
|
408
|
+
endTime: number;
|
|
409
|
+
other: {
|
|
410
|
+
droppedAttributesCount: number;
|
|
411
|
+
droppedEventsCount: number;
|
|
412
|
+
droppedLinksCount: number;
|
|
413
|
+
};
|
|
414
|
+
createdAt: string;
|
|
415
|
+
} | {
|
|
416
|
+
id: string;
|
|
417
|
+
parentSpanId: string;
|
|
418
|
+
traceId: string;
|
|
419
|
+
name: string;
|
|
420
|
+
scope: string;
|
|
421
|
+
kind: number;
|
|
422
|
+
status: {
|
|
423
|
+
code: number;
|
|
424
|
+
message?: undefined;
|
|
425
|
+
};
|
|
426
|
+
events: never[];
|
|
427
|
+
links: never[];
|
|
428
|
+
attributes: {
|
|
429
|
+
'agent.stream.argument.0': string;
|
|
430
|
+
'agent.stream.argument.1': string;
|
|
431
|
+
componentName: string;
|
|
432
|
+
'agent.stream.result': string;
|
|
433
|
+
'operation.name'?: undefined;
|
|
434
|
+
'ai.operationId'?: undefined;
|
|
435
|
+
'ai.model.provider'?: undefined;
|
|
436
|
+
'ai.model.id'?: undefined;
|
|
437
|
+
'ai.settings.maxRetries'?: undefined;
|
|
438
|
+
'ai.prompt.format'?: undefined;
|
|
439
|
+
'ai.prompt.messages'?: undefined;
|
|
440
|
+
'ai.prompt.tools'?: undefined;
|
|
441
|
+
'ai.prompt.toolChoice'?: undefined;
|
|
442
|
+
'gen_ai.system'?: undefined;
|
|
443
|
+
'gen_ai.request.model'?: undefined;
|
|
444
|
+
'ai.response.msToFirstChunk'?: undefined;
|
|
445
|
+
'ai.response.msToFinish'?: undefined;
|
|
446
|
+
'ai.response.avgCompletionTokensPerSecond'?: undefined;
|
|
447
|
+
'ai.response.finishReason'?: undefined;
|
|
448
|
+
'ai.response.text'?: undefined;
|
|
449
|
+
'ai.response.id'?: undefined;
|
|
450
|
+
'ai.response.model'?: undefined;
|
|
451
|
+
'ai.response.timestamp'?: undefined;
|
|
452
|
+
'ai.usage.promptTokens'?: undefined;
|
|
453
|
+
'ai.usage.completionTokens'?: undefined;
|
|
454
|
+
'gen_ai.response.finish_reasons'?: undefined;
|
|
455
|
+
'gen_ai.response.id'?: undefined;
|
|
456
|
+
'gen_ai.response.model'?: undefined;
|
|
457
|
+
'gen_ai.usage.input_tokens'?: undefined;
|
|
458
|
+
'gen_ai.usage.output_tokens'?: undefined;
|
|
459
|
+
'ai.toolCall.name'?: undefined;
|
|
460
|
+
'ai.toolCall.id'?: undefined;
|
|
461
|
+
'ai.toolCall.args'?: undefined;
|
|
462
|
+
'ai.toolCall.result'?: undefined;
|
|
463
|
+
'ai.response.toolCalls'?: undefined;
|
|
464
|
+
'ai.prompt'?: undefined;
|
|
465
|
+
'ai.settings.maxSteps'?: undefined;
|
|
466
|
+
'agent.__primitive.argument.0'?: undefined;
|
|
467
|
+
'agent.__primitive.result'?: undefined;
|
|
468
|
+
'agent.__registerPrimitives.argument.0'?: undefined;
|
|
469
|
+
};
|
|
470
|
+
startTime: number;
|
|
471
|
+
endTime: number;
|
|
472
|
+
other: {
|
|
473
|
+
droppedAttributesCount: number;
|
|
474
|
+
droppedEventsCount: number;
|
|
475
|
+
droppedLinksCount: number;
|
|
476
|
+
};
|
|
477
|
+
createdAt: string;
|
|
478
|
+
} | {
|
|
479
|
+
id: string;
|
|
480
|
+
parentSpanId: null;
|
|
481
|
+
traceId: string;
|
|
482
|
+
name: string;
|
|
483
|
+
scope: string;
|
|
484
|
+
kind: number;
|
|
485
|
+
status: {
|
|
486
|
+
code: number;
|
|
487
|
+
message?: undefined;
|
|
488
|
+
};
|
|
489
|
+
events: never[];
|
|
490
|
+
links: never[];
|
|
491
|
+
attributes: {
|
|
492
|
+
'agent.__registerPrimitives.argument.0': string;
|
|
493
|
+
componentName: string;
|
|
494
|
+
'operation.name'?: undefined;
|
|
495
|
+
'ai.operationId'?: undefined;
|
|
496
|
+
'ai.model.provider'?: undefined;
|
|
497
|
+
'ai.model.id'?: undefined;
|
|
498
|
+
'ai.settings.maxRetries'?: undefined;
|
|
499
|
+
'ai.prompt.format'?: undefined;
|
|
500
|
+
'ai.prompt.messages'?: undefined;
|
|
501
|
+
'ai.prompt.tools'?: undefined;
|
|
502
|
+
'ai.prompt.toolChoice'?: undefined;
|
|
503
|
+
'gen_ai.system'?: undefined;
|
|
504
|
+
'gen_ai.request.model'?: undefined;
|
|
505
|
+
'ai.response.msToFirstChunk'?: undefined;
|
|
506
|
+
'ai.response.msToFinish'?: undefined;
|
|
507
|
+
'ai.response.avgCompletionTokensPerSecond'?: undefined;
|
|
508
|
+
'ai.response.finishReason'?: undefined;
|
|
509
|
+
'ai.response.text'?: undefined;
|
|
510
|
+
'ai.response.id'?: undefined;
|
|
511
|
+
'ai.response.model'?: undefined;
|
|
512
|
+
'ai.response.timestamp'?: undefined;
|
|
513
|
+
'ai.usage.promptTokens'?: undefined;
|
|
514
|
+
'ai.usage.completionTokens'?: undefined;
|
|
515
|
+
'gen_ai.response.finish_reasons'?: undefined;
|
|
516
|
+
'gen_ai.response.id'?: undefined;
|
|
517
|
+
'gen_ai.response.model'?: undefined;
|
|
518
|
+
'gen_ai.usage.input_tokens'?: undefined;
|
|
519
|
+
'gen_ai.usage.output_tokens'?: undefined;
|
|
520
|
+
'ai.toolCall.name'?: undefined;
|
|
521
|
+
'ai.toolCall.id'?: undefined;
|
|
522
|
+
'ai.toolCall.args'?: undefined;
|
|
523
|
+
'ai.toolCall.result'?: undefined;
|
|
524
|
+
'ai.response.toolCalls'?: undefined;
|
|
525
|
+
'ai.prompt'?: undefined;
|
|
526
|
+
'ai.settings.maxSteps'?: undefined;
|
|
527
|
+
'agent.__primitive.argument.0'?: undefined;
|
|
528
|
+
'agent.__primitive.result'?: undefined;
|
|
529
|
+
'agent.stream.argument.0'?: undefined;
|
|
530
|
+
'agent.stream.argument.1'?: undefined;
|
|
531
|
+
'agent.stream.result'?: undefined;
|
|
532
|
+
};
|
|
533
|
+
startTime: number;
|
|
534
|
+
endTime: number;
|
|
535
|
+
other: {
|
|
536
|
+
droppedAttributesCount: number;
|
|
537
|
+
droppedEventsCount: number;
|
|
538
|
+
droppedLinksCount: number;
|
|
539
|
+
};
|
|
540
|
+
createdAt: string;
|
|
541
|
+
} | {
|
|
542
|
+
id: string;
|
|
543
|
+
parentSpanId: string;
|
|
544
|
+
traceId: string;
|
|
545
|
+
name: string;
|
|
546
|
+
scope: string;
|
|
547
|
+
kind: number;
|
|
548
|
+
status: {
|
|
549
|
+
code: number;
|
|
550
|
+
message: string;
|
|
551
|
+
};
|
|
552
|
+
events: {
|
|
553
|
+
attributes: {
|
|
554
|
+
key: string;
|
|
555
|
+
value: {
|
|
556
|
+
stringValue: string;
|
|
557
|
+
};
|
|
558
|
+
}[];
|
|
559
|
+
name: string;
|
|
560
|
+
timeUnixNano: string;
|
|
561
|
+
droppedAttributesCount: number;
|
|
562
|
+
}[];
|
|
563
|
+
links: never[];
|
|
564
|
+
attributes: {
|
|
565
|
+
'operation.name': string;
|
|
566
|
+
'ai.operationId': string;
|
|
567
|
+
'ai.model.provider': string;
|
|
568
|
+
'ai.model.id': string;
|
|
569
|
+
'ai.settings.maxRetries': number;
|
|
570
|
+
'ai.prompt.format': string;
|
|
571
|
+
'ai.prompt.messages': string;
|
|
572
|
+
'ai.prompt.tools': {
|
|
573
|
+
values: {
|
|
574
|
+
stringValue: string;
|
|
575
|
+
}[];
|
|
576
|
+
};
|
|
577
|
+
'ai.prompt.toolChoice': string;
|
|
578
|
+
'gen_ai.system': string;
|
|
579
|
+
'gen_ai.request.model': string;
|
|
580
|
+
componentName: string;
|
|
581
|
+
'ai.response.msToFirstChunk'?: undefined;
|
|
582
|
+
'ai.response.msToFinish'?: undefined;
|
|
583
|
+
'ai.response.avgCompletionTokensPerSecond'?: undefined;
|
|
584
|
+
'ai.response.finishReason'?: undefined;
|
|
585
|
+
'ai.response.text'?: undefined;
|
|
586
|
+
'ai.response.id'?: undefined;
|
|
587
|
+
'ai.response.model'?: undefined;
|
|
588
|
+
'ai.response.timestamp'?: undefined;
|
|
589
|
+
'ai.usage.promptTokens'?: undefined;
|
|
590
|
+
'ai.usage.completionTokens'?: undefined;
|
|
591
|
+
'gen_ai.response.finish_reasons'?: undefined;
|
|
592
|
+
'gen_ai.response.id'?: undefined;
|
|
593
|
+
'gen_ai.response.model'?: undefined;
|
|
594
|
+
'gen_ai.usage.input_tokens'?: undefined;
|
|
595
|
+
'gen_ai.usage.output_tokens'?: undefined;
|
|
596
|
+
'ai.toolCall.name'?: undefined;
|
|
597
|
+
'ai.toolCall.id'?: undefined;
|
|
598
|
+
'ai.toolCall.args'?: undefined;
|
|
599
|
+
'ai.toolCall.result'?: undefined;
|
|
600
|
+
'ai.response.toolCalls'?: undefined;
|
|
601
|
+
'ai.prompt'?: undefined;
|
|
602
|
+
'ai.settings.maxSteps'?: undefined;
|
|
603
|
+
'agent.__primitive.argument.0'?: undefined;
|
|
604
|
+
'agent.__primitive.result'?: undefined;
|
|
605
|
+
'agent.stream.argument.0'?: undefined;
|
|
606
|
+
'agent.stream.argument.1'?: undefined;
|
|
607
|
+
'agent.stream.result'?: undefined;
|
|
608
|
+
'agent.__registerPrimitives.argument.0'?: undefined;
|
|
609
|
+
};
|
|
610
|
+
startTime: number;
|
|
611
|
+
endTime: number;
|
|
612
|
+
other: {
|
|
613
|
+
droppedAttributesCount: number;
|
|
614
|
+
droppedEventsCount: number;
|
|
615
|
+
droppedLinksCount: number;
|
|
616
|
+
};
|
|
617
|
+
createdAt: string;
|
|
618
|
+
} | {
|
|
619
|
+
id: string;
|
|
620
|
+
parentSpanId: string;
|
|
621
|
+
traceId: string;
|
|
622
|
+
name: string;
|
|
623
|
+
scope: string;
|
|
624
|
+
kind: number;
|
|
625
|
+
status: {
|
|
626
|
+
code: number;
|
|
627
|
+
message: string;
|
|
628
|
+
};
|
|
629
|
+
events: {
|
|
630
|
+
attributes: {
|
|
631
|
+
key: string;
|
|
632
|
+
value: {
|
|
633
|
+
stringValue: string;
|
|
634
|
+
};
|
|
635
|
+
}[];
|
|
636
|
+
name: string;
|
|
637
|
+
timeUnixNano: string;
|
|
638
|
+
droppedAttributesCount: number;
|
|
639
|
+
}[];
|
|
640
|
+
links: never[];
|
|
641
|
+
attributes: {
|
|
642
|
+
'operation.name': string;
|
|
643
|
+
'ai.operationId': string;
|
|
644
|
+
'ai.model.provider': string;
|
|
645
|
+
'ai.model.id': string;
|
|
646
|
+
'ai.settings.maxRetries': number;
|
|
647
|
+
'ai.prompt': string;
|
|
648
|
+
'ai.settings.maxSteps': number;
|
|
649
|
+
componentName: string;
|
|
650
|
+
'ai.prompt.format'?: undefined;
|
|
651
|
+
'ai.prompt.messages'?: undefined;
|
|
652
|
+
'ai.prompt.tools'?: undefined;
|
|
653
|
+
'ai.prompt.toolChoice'?: undefined;
|
|
654
|
+
'gen_ai.system'?: undefined;
|
|
655
|
+
'gen_ai.request.model'?: undefined;
|
|
656
|
+
'ai.response.msToFirstChunk'?: undefined;
|
|
657
|
+
'ai.response.msToFinish'?: undefined;
|
|
658
|
+
'ai.response.avgCompletionTokensPerSecond'?: undefined;
|
|
659
|
+
'ai.response.finishReason'?: undefined;
|
|
660
|
+
'ai.response.text'?: undefined;
|
|
661
|
+
'ai.response.id'?: undefined;
|
|
662
|
+
'ai.response.model'?: undefined;
|
|
663
|
+
'ai.response.timestamp'?: undefined;
|
|
664
|
+
'ai.usage.promptTokens'?: undefined;
|
|
665
|
+
'ai.usage.completionTokens'?: undefined;
|
|
666
|
+
'gen_ai.response.finish_reasons'?: undefined;
|
|
667
|
+
'gen_ai.response.id'?: undefined;
|
|
668
|
+
'gen_ai.response.model'?: undefined;
|
|
669
|
+
'gen_ai.usage.input_tokens'?: undefined;
|
|
670
|
+
'gen_ai.usage.output_tokens'?: undefined;
|
|
671
|
+
'ai.toolCall.name'?: undefined;
|
|
672
|
+
'ai.toolCall.id'?: undefined;
|
|
673
|
+
'ai.toolCall.args'?: undefined;
|
|
674
|
+
'ai.toolCall.result'?: undefined;
|
|
675
|
+
'ai.response.toolCalls'?: undefined;
|
|
676
|
+
'agent.__primitive.argument.0'?: undefined;
|
|
677
|
+
'agent.__primitive.result'?: undefined;
|
|
678
|
+
'agent.stream.argument.0'?: undefined;
|
|
679
|
+
'agent.stream.argument.1'?: undefined;
|
|
680
|
+
'agent.stream.result'?: undefined;
|
|
681
|
+
'agent.__registerPrimitives.argument.0'?: undefined;
|
|
682
|
+
};
|
|
683
|
+
startTime: number;
|
|
684
|
+
endTime: number;
|
|
685
|
+
other: {
|
|
686
|
+
droppedAttributesCount: number;
|
|
687
|
+
droppedEventsCount: number;
|
|
688
|
+
droppedLinksCount: number;
|
|
689
|
+
};
|
|
690
|
+
createdAt: string;
|
|
691
|
+
})[];
|
|
692
|
+
export declare const workflow_traces_mock_data: ({
|
|
693
|
+
id: string;
|
|
694
|
+
parentSpanId: string;
|
|
695
|
+
traceId: string;
|
|
696
|
+
name: string;
|
|
697
|
+
scope: string;
|
|
698
|
+
kind: number;
|
|
699
|
+
status: {
|
|
700
|
+
code: number;
|
|
701
|
+
};
|
|
702
|
+
events: never[];
|
|
703
|
+
links: never[];
|
|
704
|
+
attributes: {
|
|
705
|
+
componentName: string;
|
|
706
|
+
runId: string;
|
|
707
|
+
'agent.__primitive.argument.0'?: undefined;
|
|
708
|
+
'agent.__primitive.result'?: undefined;
|
|
709
|
+
'agent.stream.argument.0'?: undefined;
|
|
710
|
+
'agent.stream.result'?: undefined;
|
|
711
|
+
'workflow.weather-workflow.action.plan-activities.argument.0'?: undefined;
|
|
712
|
+
'workflow.weather-workflow.action.plan-activities.result'?: undefined;
|
|
713
|
+
'workflow.weather-workflow.step.plan-activities.argument.0'?: undefined;
|
|
714
|
+
'workflow.weather-workflow.step.plan-activities.result'?: undefined;
|
|
715
|
+
'operation.name'?: undefined;
|
|
716
|
+
'ai.operationId'?: undefined;
|
|
717
|
+
'ai.model.provider'?: undefined;
|
|
718
|
+
'ai.model.id'?: undefined;
|
|
719
|
+
'ai.settings.maxSteps'?: undefined;
|
|
720
|
+
'ai.settings.toolChoice'?: undefined;
|
|
721
|
+
'ai.settings.maxRetries'?: undefined;
|
|
722
|
+
'ai.prompt.format'?: undefined;
|
|
723
|
+
'ai.prompt.messages'?: undefined;
|
|
724
|
+
'ai.settings.mode'?: undefined;
|
|
725
|
+
'gen_ai.system'?: undefined;
|
|
726
|
+
'gen_ai.request.model'?: undefined;
|
|
727
|
+
'ai.response.finishReason'?: undefined;
|
|
728
|
+
'ai.response.object'?: undefined;
|
|
729
|
+
'ai.response.id'?: undefined;
|
|
730
|
+
'ai.response.model'?: undefined;
|
|
731
|
+
'ai.response.timestamp'?: undefined;
|
|
732
|
+
'ai.usage.promptTokens'?: undefined;
|
|
733
|
+
'ai.usage.completionTokens'?: undefined;
|
|
734
|
+
'gen_ai.response.finish_reasons'?: undefined;
|
|
735
|
+
'gen_ai.response.id'?: undefined;
|
|
736
|
+
'gen_ai.response.model'?: undefined;
|
|
737
|
+
'gen_ai.usage.input_tokens'?: undefined;
|
|
738
|
+
'gen_ai.usage.output_tokens'?: undefined;
|
|
739
|
+
'ai.prompt'?: undefined;
|
|
740
|
+
'ai.schema'?: undefined;
|
|
741
|
+
'ai.settings.output'?: undefined;
|
|
742
|
+
'agent.generate.argument.0'?: undefined;
|
|
743
|
+
'agent.generate.argument.1'?: undefined;
|
|
744
|
+
'agent.generate.result'?: undefined;
|
|
745
|
+
'workflow.weather-workflow.action.fetch-weather.argument.0'?: undefined;
|
|
746
|
+
'workflow.weather-workflow.action.fetch-weather.result'?: undefined;
|
|
747
|
+
'workflow.weather-workflow.step.fetch-weather.argument.0'?: undefined;
|
|
748
|
+
'workflow.weather-workflow.step.fetch-weather.result'?: undefined;
|
|
749
|
+
};
|
|
750
|
+
startTime: number;
|
|
751
|
+
endTime: number;
|
|
752
|
+
other: {
|
|
753
|
+
droppedAttributesCount: number;
|
|
754
|
+
droppedEventsCount: number;
|
|
755
|
+
droppedLinksCount: number;
|
|
756
|
+
};
|
|
757
|
+
createdAt: string;
|
|
758
|
+
} | {
|
|
759
|
+
id: string;
|
|
760
|
+
parentSpanId: string;
|
|
761
|
+
traceId: string;
|
|
762
|
+
name: string;
|
|
763
|
+
scope: string;
|
|
764
|
+
kind: number;
|
|
765
|
+
status: {
|
|
766
|
+
code: number;
|
|
767
|
+
};
|
|
768
|
+
events: never[];
|
|
769
|
+
links: never[];
|
|
770
|
+
attributes: {
|
|
771
|
+
'agent.__primitive.argument.0': string;
|
|
772
|
+
componentName: string;
|
|
773
|
+
runId: string;
|
|
774
|
+
'agent.__primitive.result': string;
|
|
775
|
+
'agent.stream.argument.0'?: undefined;
|
|
776
|
+
'agent.stream.result'?: undefined;
|
|
777
|
+
'workflow.weather-workflow.action.plan-activities.argument.0'?: undefined;
|
|
778
|
+
'workflow.weather-workflow.action.plan-activities.result'?: undefined;
|
|
779
|
+
'workflow.weather-workflow.step.plan-activities.argument.0'?: undefined;
|
|
780
|
+
'workflow.weather-workflow.step.plan-activities.result'?: undefined;
|
|
781
|
+
'operation.name'?: undefined;
|
|
782
|
+
'ai.operationId'?: undefined;
|
|
783
|
+
'ai.model.provider'?: undefined;
|
|
784
|
+
'ai.model.id'?: undefined;
|
|
785
|
+
'ai.settings.maxSteps'?: undefined;
|
|
786
|
+
'ai.settings.toolChoice'?: undefined;
|
|
787
|
+
'ai.settings.maxRetries'?: undefined;
|
|
788
|
+
'ai.prompt.format'?: undefined;
|
|
789
|
+
'ai.prompt.messages'?: undefined;
|
|
790
|
+
'ai.settings.mode'?: undefined;
|
|
791
|
+
'gen_ai.system'?: undefined;
|
|
792
|
+
'gen_ai.request.model'?: undefined;
|
|
793
|
+
'ai.response.finishReason'?: undefined;
|
|
794
|
+
'ai.response.object'?: undefined;
|
|
795
|
+
'ai.response.id'?: undefined;
|
|
796
|
+
'ai.response.model'?: undefined;
|
|
797
|
+
'ai.response.timestamp'?: undefined;
|
|
798
|
+
'ai.usage.promptTokens'?: undefined;
|
|
799
|
+
'ai.usage.completionTokens'?: undefined;
|
|
800
|
+
'gen_ai.response.finish_reasons'?: undefined;
|
|
801
|
+
'gen_ai.response.id'?: undefined;
|
|
802
|
+
'gen_ai.response.model'?: undefined;
|
|
803
|
+
'gen_ai.usage.input_tokens'?: undefined;
|
|
804
|
+
'gen_ai.usage.output_tokens'?: undefined;
|
|
805
|
+
'ai.prompt'?: undefined;
|
|
806
|
+
'ai.schema'?: undefined;
|
|
807
|
+
'ai.settings.output'?: undefined;
|
|
808
|
+
'agent.generate.argument.0'?: undefined;
|
|
809
|
+
'agent.generate.argument.1'?: undefined;
|
|
810
|
+
'agent.generate.result'?: undefined;
|
|
811
|
+
'workflow.weather-workflow.action.fetch-weather.argument.0'?: undefined;
|
|
812
|
+
'workflow.weather-workflow.action.fetch-weather.result'?: undefined;
|
|
813
|
+
'workflow.weather-workflow.step.fetch-weather.argument.0'?: undefined;
|
|
814
|
+
'workflow.weather-workflow.step.fetch-weather.result'?: undefined;
|
|
815
|
+
};
|
|
816
|
+
startTime: number;
|
|
817
|
+
endTime: number;
|
|
818
|
+
other: {
|
|
819
|
+
droppedAttributesCount: number;
|
|
820
|
+
droppedEventsCount: number;
|
|
821
|
+
droppedLinksCount: number;
|
|
822
|
+
};
|
|
823
|
+
createdAt: string;
|
|
824
|
+
} | {
|
|
825
|
+
id: string;
|
|
826
|
+
parentSpanId: string;
|
|
827
|
+
traceId: string;
|
|
828
|
+
name: string;
|
|
829
|
+
scope: string;
|
|
830
|
+
kind: number;
|
|
831
|
+
status: {
|
|
832
|
+
code: number;
|
|
833
|
+
};
|
|
834
|
+
events: never[];
|
|
835
|
+
links: never[];
|
|
836
|
+
attributes: {
|
|
837
|
+
'agent.stream.argument.0': string;
|
|
838
|
+
componentName: string;
|
|
839
|
+
runId: string;
|
|
840
|
+
'agent.stream.result': string;
|
|
841
|
+
'agent.__primitive.argument.0'?: undefined;
|
|
842
|
+
'agent.__primitive.result'?: undefined;
|
|
843
|
+
'workflow.weather-workflow.action.plan-activities.argument.0'?: undefined;
|
|
844
|
+
'workflow.weather-workflow.action.plan-activities.result'?: undefined;
|
|
845
|
+
'workflow.weather-workflow.step.plan-activities.argument.0'?: undefined;
|
|
846
|
+
'workflow.weather-workflow.step.plan-activities.result'?: undefined;
|
|
847
|
+
'operation.name'?: undefined;
|
|
848
|
+
'ai.operationId'?: undefined;
|
|
849
|
+
'ai.model.provider'?: undefined;
|
|
850
|
+
'ai.model.id'?: undefined;
|
|
851
|
+
'ai.settings.maxSteps'?: undefined;
|
|
852
|
+
'ai.settings.toolChoice'?: undefined;
|
|
853
|
+
'ai.settings.maxRetries'?: undefined;
|
|
854
|
+
'ai.prompt.format'?: undefined;
|
|
855
|
+
'ai.prompt.messages'?: undefined;
|
|
856
|
+
'ai.settings.mode'?: undefined;
|
|
857
|
+
'gen_ai.system'?: undefined;
|
|
858
|
+
'gen_ai.request.model'?: undefined;
|
|
859
|
+
'ai.response.finishReason'?: undefined;
|
|
860
|
+
'ai.response.object'?: undefined;
|
|
861
|
+
'ai.response.id'?: undefined;
|
|
862
|
+
'ai.response.model'?: undefined;
|
|
863
|
+
'ai.response.timestamp'?: undefined;
|
|
864
|
+
'ai.usage.promptTokens'?: undefined;
|
|
865
|
+
'ai.usage.completionTokens'?: undefined;
|
|
866
|
+
'gen_ai.response.finish_reasons'?: undefined;
|
|
867
|
+
'gen_ai.response.id'?: undefined;
|
|
868
|
+
'gen_ai.response.model'?: undefined;
|
|
869
|
+
'gen_ai.usage.input_tokens'?: undefined;
|
|
870
|
+
'gen_ai.usage.output_tokens'?: undefined;
|
|
871
|
+
'ai.prompt'?: undefined;
|
|
872
|
+
'ai.schema'?: undefined;
|
|
873
|
+
'ai.settings.output'?: undefined;
|
|
874
|
+
'agent.generate.argument.0'?: undefined;
|
|
875
|
+
'agent.generate.argument.1'?: undefined;
|
|
876
|
+
'agent.generate.result'?: undefined;
|
|
877
|
+
'workflow.weather-workflow.action.fetch-weather.argument.0'?: undefined;
|
|
878
|
+
'workflow.weather-workflow.action.fetch-weather.result'?: undefined;
|
|
879
|
+
'workflow.weather-workflow.step.fetch-weather.argument.0'?: undefined;
|
|
880
|
+
'workflow.weather-workflow.step.fetch-weather.result'?: undefined;
|
|
881
|
+
};
|
|
882
|
+
startTime: number;
|
|
883
|
+
endTime: number;
|
|
884
|
+
other: {
|
|
885
|
+
droppedAttributesCount: number;
|
|
886
|
+
droppedEventsCount: number;
|
|
887
|
+
droppedLinksCount: number;
|
|
888
|
+
};
|
|
889
|
+
createdAt: string;
|
|
890
|
+
} | {
|
|
891
|
+
id: string;
|
|
892
|
+
parentSpanId: string;
|
|
893
|
+
traceId: string;
|
|
894
|
+
name: string;
|
|
895
|
+
scope: string;
|
|
896
|
+
kind: number;
|
|
897
|
+
status: {
|
|
898
|
+
code: number;
|
|
899
|
+
};
|
|
900
|
+
events: never[];
|
|
901
|
+
links: never[];
|
|
902
|
+
attributes: {
|
|
903
|
+
componentName: string;
|
|
904
|
+
runId: string;
|
|
905
|
+
'workflow.weather-workflow.action.plan-activities.argument.0': string;
|
|
906
|
+
'workflow.weather-workflow.action.plan-activities.result': string;
|
|
907
|
+
'agent.__primitive.argument.0'?: undefined;
|
|
908
|
+
'agent.__primitive.result'?: undefined;
|
|
909
|
+
'agent.stream.argument.0'?: undefined;
|
|
910
|
+
'agent.stream.result'?: undefined;
|
|
911
|
+
'workflow.weather-workflow.step.plan-activities.argument.0'?: undefined;
|
|
912
|
+
'workflow.weather-workflow.step.plan-activities.result'?: undefined;
|
|
913
|
+
'operation.name'?: undefined;
|
|
914
|
+
'ai.operationId'?: undefined;
|
|
915
|
+
'ai.model.provider'?: undefined;
|
|
916
|
+
'ai.model.id'?: undefined;
|
|
917
|
+
'ai.settings.maxSteps'?: undefined;
|
|
918
|
+
'ai.settings.toolChoice'?: undefined;
|
|
919
|
+
'ai.settings.maxRetries'?: undefined;
|
|
920
|
+
'ai.prompt.format'?: undefined;
|
|
921
|
+
'ai.prompt.messages'?: undefined;
|
|
922
|
+
'ai.settings.mode'?: undefined;
|
|
923
|
+
'gen_ai.system'?: undefined;
|
|
924
|
+
'gen_ai.request.model'?: undefined;
|
|
925
|
+
'ai.response.finishReason'?: undefined;
|
|
926
|
+
'ai.response.object'?: undefined;
|
|
927
|
+
'ai.response.id'?: undefined;
|
|
928
|
+
'ai.response.model'?: undefined;
|
|
929
|
+
'ai.response.timestamp'?: undefined;
|
|
930
|
+
'ai.usage.promptTokens'?: undefined;
|
|
931
|
+
'ai.usage.completionTokens'?: undefined;
|
|
932
|
+
'gen_ai.response.finish_reasons'?: undefined;
|
|
933
|
+
'gen_ai.response.id'?: undefined;
|
|
934
|
+
'gen_ai.response.model'?: undefined;
|
|
935
|
+
'gen_ai.usage.input_tokens'?: undefined;
|
|
936
|
+
'gen_ai.usage.output_tokens'?: undefined;
|
|
937
|
+
'ai.prompt'?: undefined;
|
|
938
|
+
'ai.schema'?: undefined;
|
|
939
|
+
'ai.settings.output'?: undefined;
|
|
940
|
+
'agent.generate.argument.0'?: undefined;
|
|
941
|
+
'agent.generate.argument.1'?: undefined;
|
|
942
|
+
'agent.generate.result'?: undefined;
|
|
943
|
+
'workflow.weather-workflow.action.fetch-weather.argument.0'?: undefined;
|
|
944
|
+
'workflow.weather-workflow.action.fetch-weather.result'?: undefined;
|
|
945
|
+
'workflow.weather-workflow.step.fetch-weather.argument.0'?: undefined;
|
|
946
|
+
'workflow.weather-workflow.step.fetch-weather.result'?: undefined;
|
|
947
|
+
};
|
|
948
|
+
startTime: number;
|
|
949
|
+
endTime: number;
|
|
950
|
+
other: {
|
|
951
|
+
droppedAttributesCount: number;
|
|
952
|
+
droppedEventsCount: number;
|
|
953
|
+
droppedLinksCount: number;
|
|
954
|
+
};
|
|
955
|
+
createdAt: string;
|
|
956
|
+
} | {
|
|
957
|
+
id: string;
|
|
958
|
+
parentSpanId: string;
|
|
959
|
+
traceId: string;
|
|
960
|
+
name: string;
|
|
961
|
+
scope: string;
|
|
962
|
+
kind: number;
|
|
963
|
+
status: {
|
|
964
|
+
code: number;
|
|
965
|
+
};
|
|
966
|
+
events: never[];
|
|
967
|
+
links: never[];
|
|
968
|
+
attributes: {
|
|
969
|
+
componentName: string;
|
|
970
|
+
runId: string;
|
|
971
|
+
'workflow.weather-workflow.step.plan-activities.argument.0': string;
|
|
972
|
+
'workflow.weather-workflow.step.plan-activities.result': string;
|
|
973
|
+
'agent.__primitive.argument.0'?: undefined;
|
|
974
|
+
'agent.__primitive.result'?: undefined;
|
|
975
|
+
'agent.stream.argument.0'?: undefined;
|
|
976
|
+
'agent.stream.result'?: undefined;
|
|
977
|
+
'workflow.weather-workflow.action.plan-activities.argument.0'?: undefined;
|
|
978
|
+
'workflow.weather-workflow.action.plan-activities.result'?: undefined;
|
|
979
|
+
'operation.name'?: undefined;
|
|
980
|
+
'ai.operationId'?: undefined;
|
|
981
|
+
'ai.model.provider'?: undefined;
|
|
982
|
+
'ai.model.id'?: undefined;
|
|
983
|
+
'ai.settings.maxSteps'?: undefined;
|
|
984
|
+
'ai.settings.toolChoice'?: undefined;
|
|
985
|
+
'ai.settings.maxRetries'?: undefined;
|
|
986
|
+
'ai.prompt.format'?: undefined;
|
|
987
|
+
'ai.prompt.messages'?: undefined;
|
|
988
|
+
'ai.settings.mode'?: undefined;
|
|
989
|
+
'gen_ai.system'?: undefined;
|
|
990
|
+
'gen_ai.request.model'?: undefined;
|
|
991
|
+
'ai.response.finishReason'?: undefined;
|
|
992
|
+
'ai.response.object'?: undefined;
|
|
993
|
+
'ai.response.id'?: undefined;
|
|
994
|
+
'ai.response.model'?: undefined;
|
|
995
|
+
'ai.response.timestamp'?: undefined;
|
|
996
|
+
'ai.usage.promptTokens'?: undefined;
|
|
997
|
+
'ai.usage.completionTokens'?: undefined;
|
|
998
|
+
'gen_ai.response.finish_reasons'?: undefined;
|
|
999
|
+
'gen_ai.response.id'?: undefined;
|
|
1000
|
+
'gen_ai.response.model'?: undefined;
|
|
1001
|
+
'gen_ai.usage.input_tokens'?: undefined;
|
|
1002
|
+
'gen_ai.usage.output_tokens'?: undefined;
|
|
1003
|
+
'ai.prompt'?: undefined;
|
|
1004
|
+
'ai.schema'?: undefined;
|
|
1005
|
+
'ai.settings.output'?: undefined;
|
|
1006
|
+
'agent.generate.argument.0'?: undefined;
|
|
1007
|
+
'agent.generate.argument.1'?: undefined;
|
|
1008
|
+
'agent.generate.result'?: undefined;
|
|
1009
|
+
'workflow.weather-workflow.action.fetch-weather.argument.0'?: undefined;
|
|
1010
|
+
'workflow.weather-workflow.action.fetch-weather.result'?: undefined;
|
|
1011
|
+
'workflow.weather-workflow.step.fetch-weather.argument.0'?: undefined;
|
|
1012
|
+
'workflow.weather-workflow.step.fetch-weather.result'?: undefined;
|
|
1013
|
+
};
|
|
1014
|
+
startTime: number;
|
|
1015
|
+
endTime: number;
|
|
1016
|
+
other: {
|
|
1017
|
+
droppedAttributesCount: number;
|
|
1018
|
+
droppedEventsCount: number;
|
|
1019
|
+
droppedLinksCount: number;
|
|
1020
|
+
};
|
|
1021
|
+
createdAt: string;
|
|
1022
|
+
} | {
|
|
1023
|
+
id: string;
|
|
1024
|
+
parentSpanId: string;
|
|
1025
|
+
traceId: string;
|
|
1026
|
+
name: string;
|
|
1027
|
+
scope: string;
|
|
1028
|
+
kind: number;
|
|
1029
|
+
status: {
|
|
1030
|
+
code: number;
|
|
1031
|
+
};
|
|
1032
|
+
events: never[];
|
|
1033
|
+
links: never[];
|
|
1034
|
+
attributes: {
|
|
1035
|
+
'operation.name': string;
|
|
1036
|
+
'ai.operationId': string;
|
|
1037
|
+
'ai.model.provider': string;
|
|
1038
|
+
'ai.model.id': string;
|
|
1039
|
+
'ai.settings.maxSteps': number;
|
|
1040
|
+
'ai.settings.toolChoice': string;
|
|
1041
|
+
'ai.settings.maxRetries': number;
|
|
1042
|
+
'ai.prompt.format': string;
|
|
1043
|
+
'ai.prompt.messages': string;
|
|
1044
|
+
'ai.settings.mode': string;
|
|
1045
|
+
'gen_ai.system': string;
|
|
1046
|
+
'gen_ai.request.model': string;
|
|
1047
|
+
componentName: string;
|
|
1048
|
+
'ai.response.finishReason': string;
|
|
1049
|
+
'ai.response.object': string;
|
|
1050
|
+
'ai.response.id': string;
|
|
1051
|
+
'ai.response.model': string;
|
|
1052
|
+
'ai.response.timestamp': string;
|
|
1053
|
+
'ai.usage.promptTokens': number;
|
|
1054
|
+
'ai.usage.completionTokens': number;
|
|
1055
|
+
'gen_ai.response.finish_reasons': {
|
|
1056
|
+
values: {
|
|
1057
|
+
stringValue: string;
|
|
1058
|
+
}[];
|
|
1059
|
+
};
|
|
1060
|
+
'gen_ai.response.id': string;
|
|
1061
|
+
'gen_ai.response.model': string;
|
|
1062
|
+
'gen_ai.usage.input_tokens': number;
|
|
1063
|
+
'gen_ai.usage.output_tokens': number;
|
|
1064
|
+
runId?: undefined;
|
|
1065
|
+
'agent.__primitive.argument.0'?: undefined;
|
|
1066
|
+
'agent.__primitive.result'?: undefined;
|
|
1067
|
+
'agent.stream.argument.0'?: undefined;
|
|
1068
|
+
'agent.stream.result'?: undefined;
|
|
1069
|
+
'workflow.weather-workflow.action.plan-activities.argument.0'?: undefined;
|
|
1070
|
+
'workflow.weather-workflow.action.plan-activities.result'?: undefined;
|
|
1071
|
+
'workflow.weather-workflow.step.plan-activities.argument.0'?: undefined;
|
|
1072
|
+
'workflow.weather-workflow.step.plan-activities.result'?: undefined;
|
|
1073
|
+
'ai.prompt'?: undefined;
|
|
1074
|
+
'ai.schema'?: undefined;
|
|
1075
|
+
'ai.settings.output'?: undefined;
|
|
1076
|
+
'agent.generate.argument.0'?: undefined;
|
|
1077
|
+
'agent.generate.argument.1'?: undefined;
|
|
1078
|
+
'agent.generate.result'?: undefined;
|
|
1079
|
+
'workflow.weather-workflow.action.fetch-weather.argument.0'?: undefined;
|
|
1080
|
+
'workflow.weather-workflow.action.fetch-weather.result'?: undefined;
|
|
1081
|
+
'workflow.weather-workflow.step.fetch-weather.argument.0'?: undefined;
|
|
1082
|
+
'workflow.weather-workflow.step.fetch-weather.result'?: undefined;
|
|
1083
|
+
};
|
|
1084
|
+
startTime: number;
|
|
1085
|
+
endTime: number;
|
|
1086
|
+
other: {
|
|
1087
|
+
droppedAttributesCount: number;
|
|
1088
|
+
droppedEventsCount: number;
|
|
1089
|
+
droppedLinksCount: number;
|
|
1090
|
+
};
|
|
1091
|
+
createdAt: string;
|
|
1092
|
+
} | {
|
|
1093
|
+
id: string;
|
|
1094
|
+
parentSpanId: string;
|
|
1095
|
+
traceId: string;
|
|
1096
|
+
name: string;
|
|
1097
|
+
scope: string;
|
|
1098
|
+
kind: number;
|
|
1099
|
+
status: {
|
|
1100
|
+
code: number;
|
|
1101
|
+
};
|
|
1102
|
+
events: never[];
|
|
1103
|
+
links: never[];
|
|
1104
|
+
attributes: {
|
|
1105
|
+
'operation.name': string;
|
|
1106
|
+
'ai.operationId': string;
|
|
1107
|
+
'ai.model.provider': string;
|
|
1108
|
+
'ai.model.id': string;
|
|
1109
|
+
'ai.settings.maxSteps': number;
|
|
1110
|
+
'ai.settings.toolChoice': string;
|
|
1111
|
+
'ai.settings.maxRetries': number;
|
|
1112
|
+
'ai.prompt': string;
|
|
1113
|
+
'ai.schema': string;
|
|
1114
|
+
'ai.settings.output': string;
|
|
1115
|
+
componentName: string;
|
|
1116
|
+
'ai.response.finishReason': string;
|
|
1117
|
+
'ai.response.object': string;
|
|
1118
|
+
'ai.usage.promptTokens': number;
|
|
1119
|
+
'ai.usage.completionTokens': number;
|
|
1120
|
+
runId?: undefined;
|
|
1121
|
+
'agent.__primitive.argument.0'?: undefined;
|
|
1122
|
+
'agent.__primitive.result'?: undefined;
|
|
1123
|
+
'agent.stream.argument.0'?: undefined;
|
|
1124
|
+
'agent.stream.result'?: undefined;
|
|
1125
|
+
'workflow.weather-workflow.action.plan-activities.argument.0'?: undefined;
|
|
1126
|
+
'workflow.weather-workflow.action.plan-activities.result'?: undefined;
|
|
1127
|
+
'workflow.weather-workflow.step.plan-activities.argument.0'?: undefined;
|
|
1128
|
+
'workflow.weather-workflow.step.plan-activities.result'?: undefined;
|
|
1129
|
+
'ai.prompt.format'?: undefined;
|
|
1130
|
+
'ai.prompt.messages'?: undefined;
|
|
1131
|
+
'ai.settings.mode'?: undefined;
|
|
1132
|
+
'gen_ai.system'?: undefined;
|
|
1133
|
+
'gen_ai.request.model'?: undefined;
|
|
1134
|
+
'ai.response.id'?: undefined;
|
|
1135
|
+
'ai.response.model'?: undefined;
|
|
1136
|
+
'ai.response.timestamp'?: undefined;
|
|
1137
|
+
'gen_ai.response.finish_reasons'?: undefined;
|
|
1138
|
+
'gen_ai.response.id'?: undefined;
|
|
1139
|
+
'gen_ai.response.model'?: undefined;
|
|
1140
|
+
'gen_ai.usage.input_tokens'?: undefined;
|
|
1141
|
+
'gen_ai.usage.output_tokens'?: undefined;
|
|
1142
|
+
'agent.generate.argument.0'?: undefined;
|
|
1143
|
+
'agent.generate.argument.1'?: undefined;
|
|
1144
|
+
'agent.generate.result'?: undefined;
|
|
1145
|
+
'workflow.weather-workflow.action.fetch-weather.argument.0'?: undefined;
|
|
1146
|
+
'workflow.weather-workflow.action.fetch-weather.result'?: undefined;
|
|
1147
|
+
'workflow.weather-workflow.step.fetch-weather.argument.0'?: undefined;
|
|
1148
|
+
'workflow.weather-workflow.step.fetch-weather.result'?: undefined;
|
|
1149
|
+
};
|
|
1150
|
+
startTime: number;
|
|
1151
|
+
endTime: number;
|
|
1152
|
+
other: {
|
|
1153
|
+
droppedAttributesCount: number;
|
|
1154
|
+
droppedEventsCount: number;
|
|
1155
|
+
droppedLinksCount: number;
|
|
1156
|
+
};
|
|
1157
|
+
createdAt: string;
|
|
1158
|
+
} | {
|
|
1159
|
+
id: string;
|
|
1160
|
+
parentSpanId: string;
|
|
1161
|
+
traceId: string;
|
|
1162
|
+
name: string;
|
|
1163
|
+
scope: string;
|
|
1164
|
+
kind: number;
|
|
1165
|
+
status: {
|
|
1166
|
+
code: number;
|
|
1167
|
+
};
|
|
1168
|
+
events: never[];
|
|
1169
|
+
links: never[];
|
|
1170
|
+
attributes: {
|
|
1171
|
+
'agent.generate.argument.0': string;
|
|
1172
|
+
'agent.generate.argument.1': string;
|
|
1173
|
+
componentName: string;
|
|
1174
|
+
runId: string;
|
|
1175
|
+
'agent.generate.result': string;
|
|
1176
|
+
'agent.__primitive.argument.0'?: undefined;
|
|
1177
|
+
'agent.__primitive.result'?: undefined;
|
|
1178
|
+
'agent.stream.argument.0'?: undefined;
|
|
1179
|
+
'agent.stream.result'?: undefined;
|
|
1180
|
+
'workflow.weather-workflow.action.plan-activities.argument.0'?: undefined;
|
|
1181
|
+
'workflow.weather-workflow.action.plan-activities.result'?: undefined;
|
|
1182
|
+
'workflow.weather-workflow.step.plan-activities.argument.0'?: undefined;
|
|
1183
|
+
'workflow.weather-workflow.step.plan-activities.result'?: undefined;
|
|
1184
|
+
'operation.name'?: undefined;
|
|
1185
|
+
'ai.operationId'?: undefined;
|
|
1186
|
+
'ai.model.provider'?: undefined;
|
|
1187
|
+
'ai.model.id'?: undefined;
|
|
1188
|
+
'ai.settings.maxSteps'?: undefined;
|
|
1189
|
+
'ai.settings.toolChoice'?: undefined;
|
|
1190
|
+
'ai.settings.maxRetries'?: undefined;
|
|
1191
|
+
'ai.prompt.format'?: undefined;
|
|
1192
|
+
'ai.prompt.messages'?: undefined;
|
|
1193
|
+
'ai.settings.mode'?: undefined;
|
|
1194
|
+
'gen_ai.system'?: undefined;
|
|
1195
|
+
'gen_ai.request.model'?: undefined;
|
|
1196
|
+
'ai.response.finishReason'?: undefined;
|
|
1197
|
+
'ai.response.object'?: undefined;
|
|
1198
|
+
'ai.response.id'?: undefined;
|
|
1199
|
+
'ai.response.model'?: undefined;
|
|
1200
|
+
'ai.response.timestamp'?: undefined;
|
|
1201
|
+
'ai.usage.promptTokens'?: undefined;
|
|
1202
|
+
'ai.usage.completionTokens'?: undefined;
|
|
1203
|
+
'gen_ai.response.finish_reasons'?: undefined;
|
|
1204
|
+
'gen_ai.response.id'?: undefined;
|
|
1205
|
+
'gen_ai.response.model'?: undefined;
|
|
1206
|
+
'gen_ai.usage.input_tokens'?: undefined;
|
|
1207
|
+
'gen_ai.usage.output_tokens'?: undefined;
|
|
1208
|
+
'ai.prompt'?: undefined;
|
|
1209
|
+
'ai.schema'?: undefined;
|
|
1210
|
+
'ai.settings.output'?: undefined;
|
|
1211
|
+
'workflow.weather-workflow.action.fetch-weather.argument.0'?: undefined;
|
|
1212
|
+
'workflow.weather-workflow.action.fetch-weather.result'?: undefined;
|
|
1213
|
+
'workflow.weather-workflow.step.fetch-weather.argument.0'?: undefined;
|
|
1214
|
+
'workflow.weather-workflow.step.fetch-weather.result'?: undefined;
|
|
1215
|
+
};
|
|
1216
|
+
startTime: number;
|
|
1217
|
+
endTime: number;
|
|
1218
|
+
other: {
|
|
1219
|
+
droppedAttributesCount: number;
|
|
1220
|
+
droppedEventsCount: number;
|
|
1221
|
+
droppedLinksCount: number;
|
|
1222
|
+
};
|
|
1223
|
+
createdAt: string;
|
|
1224
|
+
} | {
|
|
1225
|
+
id: string;
|
|
1226
|
+
parentSpanId: string;
|
|
1227
|
+
traceId: string;
|
|
1228
|
+
name: string;
|
|
1229
|
+
scope: string;
|
|
1230
|
+
kind: number;
|
|
1231
|
+
status: {
|
|
1232
|
+
code: number;
|
|
1233
|
+
};
|
|
1234
|
+
events: never[];
|
|
1235
|
+
links: never[];
|
|
1236
|
+
attributes: {
|
|
1237
|
+
componentName: string;
|
|
1238
|
+
runId: string;
|
|
1239
|
+
'workflow.weather-workflow.action.fetch-weather.argument.0': string;
|
|
1240
|
+
'workflow.weather-workflow.action.fetch-weather.result': string;
|
|
1241
|
+
'agent.__primitive.argument.0'?: undefined;
|
|
1242
|
+
'agent.__primitive.result'?: undefined;
|
|
1243
|
+
'agent.stream.argument.0'?: undefined;
|
|
1244
|
+
'agent.stream.result'?: undefined;
|
|
1245
|
+
'workflow.weather-workflow.action.plan-activities.argument.0'?: undefined;
|
|
1246
|
+
'workflow.weather-workflow.action.plan-activities.result'?: undefined;
|
|
1247
|
+
'workflow.weather-workflow.step.plan-activities.argument.0'?: undefined;
|
|
1248
|
+
'workflow.weather-workflow.step.plan-activities.result'?: undefined;
|
|
1249
|
+
'operation.name'?: undefined;
|
|
1250
|
+
'ai.operationId'?: undefined;
|
|
1251
|
+
'ai.model.provider'?: undefined;
|
|
1252
|
+
'ai.model.id'?: undefined;
|
|
1253
|
+
'ai.settings.maxSteps'?: undefined;
|
|
1254
|
+
'ai.settings.toolChoice'?: undefined;
|
|
1255
|
+
'ai.settings.maxRetries'?: undefined;
|
|
1256
|
+
'ai.prompt.format'?: undefined;
|
|
1257
|
+
'ai.prompt.messages'?: undefined;
|
|
1258
|
+
'ai.settings.mode'?: undefined;
|
|
1259
|
+
'gen_ai.system'?: undefined;
|
|
1260
|
+
'gen_ai.request.model'?: undefined;
|
|
1261
|
+
'ai.response.finishReason'?: undefined;
|
|
1262
|
+
'ai.response.object'?: undefined;
|
|
1263
|
+
'ai.response.id'?: undefined;
|
|
1264
|
+
'ai.response.model'?: undefined;
|
|
1265
|
+
'ai.response.timestamp'?: undefined;
|
|
1266
|
+
'ai.usage.promptTokens'?: undefined;
|
|
1267
|
+
'ai.usage.completionTokens'?: undefined;
|
|
1268
|
+
'gen_ai.response.finish_reasons'?: undefined;
|
|
1269
|
+
'gen_ai.response.id'?: undefined;
|
|
1270
|
+
'gen_ai.response.model'?: undefined;
|
|
1271
|
+
'gen_ai.usage.input_tokens'?: undefined;
|
|
1272
|
+
'gen_ai.usage.output_tokens'?: undefined;
|
|
1273
|
+
'ai.prompt'?: undefined;
|
|
1274
|
+
'ai.schema'?: undefined;
|
|
1275
|
+
'ai.settings.output'?: undefined;
|
|
1276
|
+
'agent.generate.argument.0'?: undefined;
|
|
1277
|
+
'agent.generate.argument.1'?: undefined;
|
|
1278
|
+
'agent.generate.result'?: undefined;
|
|
1279
|
+
'workflow.weather-workflow.step.fetch-weather.argument.0'?: undefined;
|
|
1280
|
+
'workflow.weather-workflow.step.fetch-weather.result'?: undefined;
|
|
1281
|
+
};
|
|
1282
|
+
startTime: number;
|
|
1283
|
+
endTime: number;
|
|
1284
|
+
other: {
|
|
1285
|
+
droppedAttributesCount: number;
|
|
1286
|
+
droppedEventsCount: number;
|
|
1287
|
+
droppedLinksCount: number;
|
|
1288
|
+
};
|
|
1289
|
+
createdAt: string;
|
|
1290
|
+
} | {
|
|
1291
|
+
id: string;
|
|
1292
|
+
parentSpanId: string;
|
|
1293
|
+
traceId: string;
|
|
1294
|
+
name: string;
|
|
1295
|
+
scope: string;
|
|
1296
|
+
kind: number;
|
|
1297
|
+
status: {
|
|
1298
|
+
code: number;
|
|
1299
|
+
};
|
|
1300
|
+
events: never[];
|
|
1301
|
+
links: never[];
|
|
1302
|
+
attributes: {
|
|
1303
|
+
componentName: string;
|
|
1304
|
+
runId: string;
|
|
1305
|
+
'workflow.weather-workflow.step.fetch-weather.argument.0': string;
|
|
1306
|
+
'workflow.weather-workflow.step.fetch-weather.result': string;
|
|
1307
|
+
'agent.__primitive.argument.0'?: undefined;
|
|
1308
|
+
'agent.__primitive.result'?: undefined;
|
|
1309
|
+
'agent.stream.argument.0'?: undefined;
|
|
1310
|
+
'agent.stream.result'?: undefined;
|
|
1311
|
+
'workflow.weather-workflow.action.plan-activities.argument.0'?: undefined;
|
|
1312
|
+
'workflow.weather-workflow.action.plan-activities.result'?: undefined;
|
|
1313
|
+
'workflow.weather-workflow.step.plan-activities.argument.0'?: undefined;
|
|
1314
|
+
'workflow.weather-workflow.step.plan-activities.result'?: undefined;
|
|
1315
|
+
'operation.name'?: undefined;
|
|
1316
|
+
'ai.operationId'?: undefined;
|
|
1317
|
+
'ai.model.provider'?: undefined;
|
|
1318
|
+
'ai.model.id'?: undefined;
|
|
1319
|
+
'ai.settings.maxSteps'?: undefined;
|
|
1320
|
+
'ai.settings.toolChoice'?: undefined;
|
|
1321
|
+
'ai.settings.maxRetries'?: undefined;
|
|
1322
|
+
'ai.prompt.format'?: undefined;
|
|
1323
|
+
'ai.prompt.messages'?: undefined;
|
|
1324
|
+
'ai.settings.mode'?: undefined;
|
|
1325
|
+
'gen_ai.system'?: undefined;
|
|
1326
|
+
'gen_ai.request.model'?: undefined;
|
|
1327
|
+
'ai.response.finishReason'?: undefined;
|
|
1328
|
+
'ai.response.object'?: undefined;
|
|
1329
|
+
'ai.response.id'?: undefined;
|
|
1330
|
+
'ai.response.model'?: undefined;
|
|
1331
|
+
'ai.response.timestamp'?: undefined;
|
|
1332
|
+
'ai.usage.promptTokens'?: undefined;
|
|
1333
|
+
'ai.usage.completionTokens'?: undefined;
|
|
1334
|
+
'gen_ai.response.finish_reasons'?: undefined;
|
|
1335
|
+
'gen_ai.response.id'?: undefined;
|
|
1336
|
+
'gen_ai.response.model'?: undefined;
|
|
1337
|
+
'gen_ai.usage.input_tokens'?: undefined;
|
|
1338
|
+
'gen_ai.usage.output_tokens'?: undefined;
|
|
1339
|
+
'ai.prompt'?: undefined;
|
|
1340
|
+
'ai.schema'?: undefined;
|
|
1341
|
+
'ai.settings.output'?: undefined;
|
|
1342
|
+
'agent.generate.argument.0'?: undefined;
|
|
1343
|
+
'agent.generate.argument.1'?: undefined;
|
|
1344
|
+
'agent.generate.result'?: undefined;
|
|
1345
|
+
'workflow.weather-workflow.action.fetch-weather.argument.0'?: undefined;
|
|
1346
|
+
'workflow.weather-workflow.action.fetch-weather.result'?: undefined;
|
|
1347
|
+
};
|
|
1348
|
+
startTime: number;
|
|
1349
|
+
endTime: number;
|
|
1350
|
+
other: {
|
|
1351
|
+
droppedAttributesCount: number;
|
|
1352
|
+
droppedEventsCount: number;
|
|
1353
|
+
droppedLinksCount: number;
|
|
1354
|
+
};
|
|
1355
|
+
createdAt: string;
|
|
1356
|
+
})[];
|