File tree Expand file tree Collapse file tree 4 files changed +20
-2
lines changed
llmstudio/engine/providers Expand file tree Collapse file tree 4 files changed +20
-2
lines changed Original file line number Diff line number Diff line change 8383
8484 - name : Push Docker image to Docker Hub
8585 run : |
86- docker push tensoropsai/llmstudio:${{ env.VERSION }}
86+ docker push tensoropsai/llmstudio:${{ env.VERSION }}
87+
Original file line number Diff line number Diff line change 8484 - name : Push Docker images to Docker Hub
8585 run : |
8686 docker push tensoropsai/llmstudio:${{ env.VERSION }}
87- docker push tensoropsai/llmstudio:latest
87+ docker push tensoropsai/llmstudio:latest
88+
Original file line number Diff line number Diff line change 1+ FROM python:3.11-slim
2+ ENV PYTHONUNBUFFERED=1
3+
4+ # Install tools
5+ RUN apt-get clean && apt-get update
6+
7+ # Install llmstudio
8+ ARG LLMSTUDIO_VERSION
9+ RUN pip install llmstudio==${LLMSTUDIO_VERSION}
10+ RUN pip install psycopg2-binary
11+
12+ # Expose Ports
13+ EXPOSE 8001 8002
14+
15+ CMD ["llmstudio" , "server" ]
Original file line number Diff line number Diff line change @@ -41,6 +41,7 @@ async def generate_client(
4141 """Generate an OpenAI client"""
4242
4343 try :
44+ # Create client
4445 client = OpenAI (api_key = request .api_key or self .API_KEY )
4546 return await asyncio .to_thread (
4647 client .chat .completions .create ,
You can’t perform that action at this time.
0 commit comments