From c699e884b561e2c550ae0d8d179c5f025fd30d07 Mon Sep 17 00:00:00 2001 From: Xi Yan Date: Mon, 9 Dec 2024 11:18:53 -0800 Subject: [PATCH] fix telemetry import (#585) # What does this PR do? fix issue image ## Test Plan ``` llama stack run ``` image ## Sources Please link relevant resources if necessary. ## Before submitting - [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case). - [ ] Ran pre-commit to handle lint / formatting issues. - [ ] Read the [contributor guideline](https://github.com/meta-llama/llama-stack/blob/main/CONTRIBUTING.md), Pull Request section? - [ ] Updated relevant documentation. - [ ] Wrote necessary unit or integration tests. --- llama_stack/distribution/server/server.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/llama_stack/distribution/server/server.py b/llama_stack/distribution/server/server.py index 43e9c0706..8f24f3eaf 100644 --- a/llama_stack/distribution/server/server.py +++ b/llama_stack/distribution/server/server.py @@ -43,9 +43,9 @@ from llama_stack.distribution.stack import ( replace_env_vars, validate_env_pair, ) -from llama_stack.providers.inline.telemetry.meta_reference import ( +from llama_stack.providers.inline.telemetry.meta_reference.config import TelemetryConfig +from llama_stack.providers.inline.telemetry.meta_reference.telemetry import ( TelemetryAdapter, - TelemetryConfig, ) from .endpoints import get_all_api_endpoints