Severian commited on
Commit
0bebcbb
·
1 Parent(s): a60b16f

fix: update package versions for compatibility

Browse files

- Update Cohere to v4.43 for ChatStreamRequestToolResultsItem
- Add explicit Flask-Migrate and Flask-SQLAlchemy versions
- Ensure consistent versions in builder and runtime stages
- Maintain existing dependency structure

Files changed (1) hide show
  1. Dockerfile +9 -4
Dockerfile CHANGED
@@ -119,7 +119,7 @@ RUN pip install --no-cache-dir \
119
  yarl \
120
  aiohttp \
121
  tritonclient[all] \
122
- cohere \
123
  anthropic \
124
  replicate \
125
  aleph-alpha-client \
@@ -129,7 +129,9 @@ RUN pip install --no-cache-dir \
129
  langchain-community \
130
  langchain-core \
131
  langchain-openai \
132
- openai==1.14.0 && \
 
 
133
  poetry config virtualenvs.create false && \
134
  poetry install --no-dev --no-interaction --no-ansi
135
 
@@ -206,7 +208,7 @@ RUN apt-get install -y --no-install-recommends \
206
  yarl \
207
  aiohttp \
208
  tritonclient[all] \
209
- cohere \
210
  anthropic \
211
  replicate \
212
  aleph-alpha-client \
@@ -215,7 +217,10 @@ RUN apt-get install -y --no-install-recommends \
215
  langchain \
216
  langchain-community \
217
  langchain-core \
218
- langchain-openai && \
 
 
 
219
  python -m nltk.downloader punkt averaged_perceptron_tagger
220
 
221
  # Set up directory structure
 
119
  yarl \
120
  aiohttp \
121
  tritonclient[all] \
122
+ cohere==4.43 \
123
  anthropic \
124
  replicate \
125
  aleph-alpha-client \
 
129
  langchain-community \
130
  langchain-core \
131
  langchain-openai \
132
+ openai==1.14.0 \
133
+ Flask-Migrate==4.0.7 \
134
+ Flask-SQLAlchemy==3.1.1 && \
135
  poetry config virtualenvs.create false && \
136
  poetry install --no-dev --no-interaction --no-ansi
137
 
 
208
  yarl \
209
  aiohttp \
210
  tritonclient[all] \
211
+ cohere==4.43 \
212
  anthropic \
213
  replicate \
214
  aleph-alpha-client \
 
217
  langchain \
218
  langchain-community \
219
  langchain-core \
220
+ langchain-openai \
221
+ openai==1.14.0 \
222
+ Flask-Migrate==4.0.7 \
223
+ Flask-SQLAlchemy==3.1.1 && \
224
  python -m nltk.downloader punkt averaged_perceptron_tagger
225
 
226
  # Set up directory structure