mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-12 04:00:42 +00:00
updated to include telemetry
rh-pre-commit.version: 2.3.2 rh-pre-commit.check-secrets: ENABLED
This commit is contained in:
parent
b469ffce35
commit
3059423cd7
2 changed files with 8 additions and 0 deletions
4
.gitignore
vendored
4
.gitignore
vendored
|
|
@ -31,3 +31,7 @@ CLAUDE.md
|
||||||
.claude/
|
.claude/
|
||||||
docs/.docusaurus/
|
docs/.docusaurus/
|
||||||
docs/node_modules/
|
docs/node_modules/
|
||||||
|
|
||||||
|
node_modules/
|
||||||
|
package-lock.json
|
||||||
|
package.json
|
||||||
|
|
|
||||||
|
|
@ -11,6 +11,10 @@ export function useAuthClient() {
|
||||||
|
|
||||||
const options: any = {
|
const options: any = {
|
||||||
baseURL: `${clientHostname}/api`,
|
baseURL: `${clientHostname}/api`,
|
||||||
|
defaultHeaders: {
|
||||||
|
"X-Telemetry-Service": "llama-stack-ui",
|
||||||
|
"X-Telemetry-Version": "1.0.0",
|
||||||
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
if (session?.accessToken) {
|
if (session?.accessToken) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue