axios+telemetry cleanup
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user