Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions docker-compose.override.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
version: "3.9"
services:
platform:
build:
context: ./platform
dockerfile: Dockerfile
environment:
- LANGCHAIN_VERSION=0.0.267
command: >
sh -c "pip install langchain==0.0.267 lanarky==0.7.8 &&
python -m reworkd_platform"
4 changes: 4 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ services:
- ./next/:/next/
- /next/node_modules
- /next/.next
environment:
DATABASE_URL: mysql://reworkd_platform:reworkd_platform@agentgpt_db:3307/reworkd_platform
depends_on:
- agentgpt_db

platform:
container_name: platform
Expand Down
4 changes: 2 additions & 2 deletions platform/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ sentry-sdk = "^1.31.0"
loguru = "^0.7.2"
aiokafka = "^0.8.1"
requests = "^2.31.0"
langchain = "^0.0.295"
langchain = "0.0.267" # Pin to a version that has langchain.globals
openai = "^0.28.0"
wikipedia = "^1.4.0"
replicate = "^0.8.4"
lanarky = "^0.7.15"
lanarky = "0.7.8" # Use a compatible version with this langchain
tiktoken = "^0.5.1"
grpcio = "^1.58.0"
pinecone-client = "^2.2.4"
Expand Down