AutoGPT: fix docker entrypoint

This commit is contained in:
Reinier van der Leer
2023-09-17 16:47:57 +02:00
parent 11920b8fe5
commit d5a88d43a7
2 changed files with 3 additions and 3 deletions

View File

@@ -31,8 +31,8 @@ WORKDIR /app
COPY pyproject.toml poetry.lock ./
# Set the entrypoint
ENTRYPOINT ["poetry"]
CMD ["run", "autogpt", "--install-plugin-deps"]
ENTRYPOINT ["poetry", "run", "autogpt", "--install-plugin-deps"]
CMD []
# dev build -> include everything
FROM autogpt-base as autogpt-dev

View File

@@ -106,7 +106,7 @@ OPEN_AI_LANGUAGE_MODELS = {
),
]
}
# Copy entries for equivalent models
# Copy entries for models with equivalent specs
chat_model_mapping = {
OpenAIModelName.GPT3: [OpenAIModelName.GPT3_v1, OpenAIModelName.GPT3_v2],
OpenAIModelName.GPT3_16k: [OpenAIModelName.GPT3_v2_16k],