newrelic
Version:
New Relic agent
30 lines (24 loc) • 564 B
JavaScript
/*
* Copyright 2026 New Relic Corporation. All rights reserved.
* SPDX-License-Identifier: Apache-2.0
*/
const INSTRUMENTED_COMMANDS = new Set([
'InvokeModelCommand',
'InvokeModelWithResponseStreamCommand',
'ConverseCommand',
'ConverseStreamCommand'
])
const STREAMING_COMMANDS = new Set([
'InvokeModelWithResponseStreamCommand',
'ConverseStreamCommand'
])
const CONVERSE_COMMANDS = new Set([
'ConverseCommand',
'ConverseStreamCommand'
])
module.exports = {
INSTRUMENTED_COMMANDS,
STREAMING_COMMANDS,
CONVERSE_COMMANDS
}