"vscode:/vscode.git/clone" did not exist on "be13f9f210f2d501e28b90474f3546a309d04b93"
Unverified Commit f337ddb2 authored by Timothy Jaeryang Baek's avatar Timothy Jaeryang Baek Committed by GitHub
Browse files

Merge pull request #1880 from Silentoplayz/saynototelemetry

feat: Added Environment Variable ANONYMIZED_TELEMETRY=false
parents 1e05caf8 b2020383
...@@ -10,6 +10,7 @@ OPENAI_API_KEY='' ...@@ -10,6 +10,7 @@ OPENAI_API_KEY=''
# DO NOT TRACK # DO NOT TRACK
SCARF_NO_ANALYTICS=true SCARF_NO_ANALYTICS=true
DO_NOT_TRACK=true DO_NOT_TRACK=true
ANONYMIZED_TELEMETRY=false
# Use locally bundled version of the LiteLLM cost map json # Use locally bundled version of the LiteLLM cost map json
# to avoid repetitive startup connections # to avoid repetitive startup connections
......
...@@ -51,7 +51,8 @@ ENV OLLAMA_BASE_URL="/ollama" \ ...@@ -51,7 +51,8 @@ ENV OLLAMA_BASE_URL="/ollama" \
ENV OPENAI_API_KEY="" \ ENV OPENAI_API_KEY="" \
WEBUI_SECRET_KEY="" \ WEBUI_SECRET_KEY="" \
SCARF_NO_ANALYTICS=true \ SCARF_NO_ANALYTICS=true \
DO_NOT_TRACK=true DO_NOT_TRACK=true \
ANONYMIZED_TELEMETRY=false
# Use locally bundled version of the LiteLLM cost map json # Use locally bundled version of the LiteLLM cost map json
# to avoid repetitive startup connections # to avoid repetitive startup connections
...@@ -74,6 +75,10 @@ ENV HF_HOME="/app/backend/data/cache/embedding/models" ...@@ -74,6 +75,10 @@ ENV HF_HOME="/app/backend/data/cache/embedding/models"
WORKDIR /app/backend WORKDIR /app/backend
ENV HOME /root
RUN mkdir -p $HOME/.cache/chroma
RUN echo -n 00000000-0000-0000-0000-000000000000 > $HOME/.cache/chroma/telemetry_user_id
RUN if [ "$USE_OLLAMA" = "true" ]; then \ RUN if [ "$USE_OLLAMA" = "true" ]; then \
apt-get update && \ apt-get update && \
# Install pandoc and netcat # Install pandoc and netcat
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment