axios+telemetry cleanup

This commit is contained in:
2026-04-02 15:19:11 +03:00
parent a3cbca1e11
commit 7e1eac8002
100 changed files with 3048 additions and 4491 deletions

View File

@@ -1,4 +1,4 @@
import axios from 'axios'
import { nativeRequest } from '../../utils/http.js'
import { z } from 'zod/v4'
import { getOauthConfig } from '../../constants/oauth.js'
import { getFeatureValue_CACHED_MAY_BE_STALE } from '../../services/analytics/growthbook.js'
@@ -132,14 +132,12 @@ export const RemoteTriggerTool = buildTool({
break
}
const res = await axios.request({
const res = await nativeRequest(url, {
method,
url,
headers,
data,
body: data,
timeout: 20_000,
signal: context.abortController.signal,
validateStatus: () => true,
})
return {