refactor: Remove comment from Dockerfile

This commit is contained in:
Igor Ilic 2026-01-08 12:45:03 +01:00
parent af72dd2fc2
commit 07b91f3a5f
2 changed files with 1 additions and 6 deletions

View file

@ -16,9 +16,6 @@ ARG DEBUG
# Set environment variable based on the build argument # Set environment variable based on the build argument
ENV DEBUG=${DEBUG} ENV DEBUG=${DEBUG}
# if you located in China, you can use aliyun mirror to speed up
#RUN sed -i 's@deb.debian.org@mirrors.ustc.edu.cn@g' /etc/apt/sources.list.d/debian.sources
# Install system dependencies # Install system dependencies
RUN apt-get update && apt-get install -y \ RUN apt-get update && apt-get install -y \
gcc \ gcc \

View file

@ -134,9 +134,7 @@ class LiteLLMEmbeddingEngine(EmbeddingEngine):
litellm.aembedding( litellm.aembedding(
model=self.model, model=self.model,
input=text, input=text,
api_key=self.api_key api_key=self.api_key,
if self.api_key and self.api_key.strip() != ""
else "EMPTY",
api_base=self.endpoint, api_base=self.endpoint,
api_version=self.api_version, api_version=self.api_version,
), ),