updated to include telemetry

rh-pre-commit.version: 2.3.2
rh-pre-commit.check-secrets: ENABLED
This commit is contained in:
Antony Sallas 2025-10-23 18:42:02 +08:00
parent b469ffce35
commit 3059423cd7
2 changed files with 8 additions and 0 deletions

View file

@ -11,6 +11,10 @@ export function useAuthClient() {
const options: any = {
baseURL: `${clientHostname}/api`,
defaultHeaders: {
"X-Telemetry-Service": "llama-stack-ui",
"X-Telemetry-Version": "1.0.0",
},
};
if (session?.accessToken) {