We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a5d9d9 commit ad226d4Copy full SHA for ad226d4
packages/trigger-sdk/src/v3/promptManagement.ts
@@ -124,7 +124,12 @@ export function listPrompts(
124
): Promise<ListPromptsResponseBody> {
125
const apiClient = apiClientManager.clientOrThrow();
126
return apiClient.listPrompts({
127
- ...promptSpanOptions("prompts.list()", "all"),
+ tracer,
128
+ name: "prompts.list()",
129
+ icon: "tabler-file-text-ai",
130
+ attributes: {
131
+ [SemanticInternalAttributes.STYLE_ICON]: "tabler-file-text-ai",
132
+ },
133
onResponseBody: (body, span) => {
134
span.setAttribute("prompt.count", body.data.length);
135
},
0 commit comments