Files
klz-cables.com/.pnpm-store/v10/files/33/f7e8d988a2d23b86f5c0e557dcfe96a298dbdf8bcfb19732b7bed30d204792fb5d67f833f88851f5987f442e24c923626a46e8facbf1a663895a48c1d17efc
Marc Mintel 5397309103
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
fix(products): fix breadcrumbs and product filtering (backport from main)
2026-02-24 16:04:21 +01:00

21 lines
908 B
Plaintext

import type { Span } from '../../types-hoist/span';
import type { AnthropicAiInstrumentedMethod, AnthropicAiResponse } from './types';
/**
* Check if a method path should be instrumented
*/
export declare function shouldInstrument(methodPath: string): methodPath is AnthropicAiInstrumentedMethod;
/**
* Set the messages and messages original length attributes.
* Extracts system instructions before truncation.
*/
export declare function setMessagesAttribute(span: Span, messages: unknown): void;
/**
* Capture error information from the response
* @see https://docs.anthropic.com/en/api/errors#error-shapes
*/
export declare function handleResponseError(span: Span, response: AnthropicAiResponse): void;
/**
* Include the system prompt in the messages list, if available
*/
export declare function messagesFromParams(params: Record<string, unknown>): unknown[];
//# sourceMappingURL=utils.d.ts.map