mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-24 18:24:20 +00:00
(feat) proxy - remove streamlit ui on startup
This commit is contained in:
parent
20236c1c69
commit
52db2a6040
2 changed files with 1 additions and 5 deletions
|
@ -374,7 +374,7 @@ async def run_streamlit_ui():
|
|||
while True:
|
||||
await asyncio.sleep(3600)
|
||||
except Exception as e:
|
||||
print(f"An error occurred: {e}")
|
||||
print_verbose(f"Admin UI - Streamlit. An error occurred: {e}")
|
||||
|
||||
|
||||
def cost_tracking():
|
||||
|
@ -1013,9 +1013,6 @@ async def startup_event():
|
|||
duration=None, models=[], aliases={}, config={}, spend=0, token=master_key
|
||||
)
|
||||
|
||||
# Run streamlit_ui as a background task
|
||||
asyncio.create_task(run_streamlit_ui())
|
||||
|
||||
|
||||
#### API ENDPOINTS ####
|
||||
@router.get(
|
||||
|
|
|
@ -15,7 +15,6 @@ async_generator==1.10.0 # for async ollama calls
|
|||
traceloop-sdk==0.5.3 # for open telemetry logging
|
||||
langfuse>=2.0.0 # for langfuse self-hosted logging
|
||||
orjson==3.9.7 # fast /embedding responses
|
||||
streamlit==1.27.2 # for admin ui
|
||||
### LITELLM PACKAGE DEPENDENCIES
|
||||
python-dotenv>=0.2.0 # for env
|
||||
tiktoken>=0.4.0 # for calculating usage
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue