UNPKG

@sentry/core

Version:
17 lines (14 loc) 635 B
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' }, } ; export { ANTHROPIC_AI_INTEGRATION_NAME, ANTHROPIC_METHOD_REGISTRY }; //# sourceMappingURL=constants.js.map