Skip to content

Automate browser based workflows with AI

add user agent on ui (#3404)

LawyZheng111b964fccdc
diff --git a/skyvern-frontend/src/api/AxiosClient.ts b/skyvern-frontend/src/api/AxiosClient.ts
index b54d7848b..74635e442 100644
--- a/skyvern-frontend/src/api/AxiosClient.ts
+++ b/skyvern-frontend/src/api/AxiosClient.ts
@@ -13,6 +13,7 @@ const client = axios.create({
baseURL: apiV1BaseUrl,
headers: {
"Content-Type": "application/json",
+ "x-user-agent": "skyvern-ui",
"x-api-key": envCredential,
},
});
@@ -21,6 +22,7 @@ const v2Client = axios.create({
baseURL: apiV2BaseUrl,
headers: {
"Content-Type": "application/json",
+ "x-user-agent": "skyvern-ui",
"x-api-key": envCredential,
},
});
@@ -29,6 +31,7 @@ const clientSansApiV1 = axios.create({
baseURL: apiSansApiV1BaseUrl,
headers: {
"Content-Type": "application/json",
+ "x-user-agent": "skyvern-ui",
"x-api-key": envCredential,
},
});