UNPKG

@sentry/core

Version:
20 lines (16 loc) 774 B
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); const ANTHROPIC_AI_INTEGRATION_NAME = 'Anthropic_AI'; // https://docs.anthropic.com/en/api/messages // https://docs.anthropic.com/en/api/models-list const ANTHROPIC_METHOD_REGISTRY = { 'messages.create': { operation: 'chat' }, 'messages.stream': { operation: 'chat', streaming: true }, 'messages.countTokens': { operation: 'chat' }, 'models.get': { operation: 'models' }, 'completions.create': { operation: 'chat' }, 'models.retrieve': { operation: 'models' }, 'beta.messages.create': { operation: 'chat' }, } ; exports.ANTHROPIC_AI_INTEGRATION_NAME = ANTHROPIC_AI_INTEGRATION_NAME; exports.ANTHROPIC_METHOD_REGISTRY = ANTHROPIC_METHOD_REGISTRY; //# sourceMappingURL=constants.js.map