We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c25d7de commit 3487804Copy full SHA for 3487804
aws-distro-opentelemetry-node-autoinstrumentation/src/patches/aws/services/bedrock.ts
@@ -349,7 +349,6 @@ export class BedrockRuntimeServiceExtension implements ServiceExtension {
349
span.setAttribute(AwsSpanProcessingUtil.GEN_AI_RESPONSE_FINISH_REASONS, [responseBody.stop_reason]);
350
}
351
} else if (currentModelId.includes('cohere.command-r')) {
352
- console.log('Response Body:', responseBody);
353
if (responseBody.text !== undefined) {
354
// NOTE: We approximate the token count since this value is not directly available in the body
355
// According to Bedrock docs they use (total_chars / 6) to approximate token count for pricing.
0 commit comments