removed telemetry noise, unnecessary packets sent to anthropic
This commit is contained in:
@@ -17,13 +17,8 @@ import { isTelemetryDisabled } from '../../utils/privacyLevel.js'
|
|||||||
* - Privacy level is no-telemetry or essential-traffic
|
* - Privacy level is no-telemetry or essential-traffic
|
||||||
*/
|
*/
|
||||||
export function isAnalyticsDisabled(): boolean {
|
export function isAnalyticsDisabled(): boolean {
|
||||||
return (
|
// Open Claude does not send product telemetry.
|
||||||
process.env.NODE_ENV === 'test' ||
|
return true
|
||||||
isEnvTruthy(process.env.CLAUDE_CODE_USE_BEDROCK) ||
|
|
||||||
isEnvTruthy(process.env.CLAUDE_CODE_USE_VERTEX) ||
|
|
||||||
isEnvTruthy(process.env.CLAUDE_CODE_USE_FOUNDRY) ||
|
|
||||||
isTelemetryDisabled()
|
|
||||||
)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user