Files
klz-cables.com/.pnpm-store/v10/files/55/2b2b35113d7a19037147205ad240e5bf74367c438758680a67f936c19e5115a339155f11ed0568cc3df403ad9e34b82af0047bc54d35a86f7d742bd9ac6221
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

22 lines
920 B
Plaintext

import { Span } from '../../types-hoist/span';
import { 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