Skip to content
This repository has been archived by the owner on Jul 4, 2024. It is now read-only.

Update lc0rp auto gpt turbo #7

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
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
10 changes: 5 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ last_run_ai_settings.yaml
.vscode
.idea/*
auto-gpt.json
log.txt
log-ingestion.txt
/logs
#log.txt
#log-ingestion.txt
#/logs
*.log
*.mp3
mem.sqlite3
Expand All @@ -31,9 +31,9 @@ __pycache__/
build/
develop-eggs/
dist/
/plugins/
#/plugins/
plugins_config.yaml
config/plugins_config.yaml
#config/plugins_config.yaml
downloads/
eggs/
.eggs/
Expand Down
18 changes: 5 additions & 13 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,6 @@
# 'dev' or 'release' container build
ARG BUILD_TYPE=dev
# Use an official Python base image from the Docker Hub
FROM python:3.10-slim AS autogpt-base
# Install browsers
RUN apt-get update && apt-get install -y \
chromium-driver firefox-esr ca-certificates gcc \
&& apt-get clean && rm -rf /var/lib/apt/lists/*
# Install utilities
RUN apt-get update && apt-get install -y \
curl jq wget git \
&& apt-get clean && rm -rf /var/lib/apt/lists/*
ARG BASE_IMAGE
FROM ${BASE_IMAGE} AS autogpt-base
ARG BUILD_TYPE
# Set environment variables
ENV PIP_NO_CACHE_DIR=yes \
PYTHONUNBUFFERED=1 \
Expand All @@ -32,6 +23,7 @@ CMD ["run", "autogpt", "--install-plugin-deps"]

# dev build -> include everything
FROM autogpt-base as autogpt-dev
#RUN poetry lock
RUN poetry install --no-root
ONBUILD COPY . ./

Expand All @@ -45,5 +37,5 @@ ONBUILD COPY prompt_settings.yaml ./prompt_settings.yaml
ONBUILD COPY README.md ./README.md
ONBUILD RUN mkdir ./data

FROM autogpt-${BUILD_TYPE} AS autogpt
FROM autogpt-dev AS autogpt
RUN poetry install --only-root
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# Hack of

from ai-ticket
`sudo docker-compose up mockopenai`

`sudo docker-compose run autogpt-turbo`

# Turbo: An Enhanced Auto-GTP v0.4.7 Fork

Turbo is a fork of Auto-GTP v0.4.7, offering the following improvements:
Expand Down
20 changes: 20 additions & 0 deletions logs/#activity.log#
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
2023-10-15 16:06:52,921 INFO Loading 'turbo prompts'.
2023-10-15 16:06:53,015 WARNING config/plugins_config.yaml does not exist, creating base config.
2023-10-15 16:06:53,030 INFO WARNING: You do not have access to gpt-4-0314. Setting smart_llm to gpt-3.5-turbo.
2023-10-15 16:06:53,269 INFO Skip Re-prompt: ENABLED
2023-10-15 16:06:53,396 INFO Using Prompt Settings File: /app/config/personas/turbo/prompts.yaml
2023-10-15 16:06:53,530 INFO

2023-10-15 16:06:53,562 INFO 3 PERSONAS FOUND:
2023-10-15 16:06:53,659 INFO ================================
2023-10-15 16:06:53,694 INFO [1] - coder.engineer
2023-10-15 16:06:53,851 INFO [2] - coder.v2
2023-10-15 16:06:54,015 INFO [3] - turbo
2023-10-15 16:06:54,200 INFO

2023-10-15 16:06:57,876 INFO Loading 'coder.engineer' persona.
2023-10-15 16:06:57,993 INFO Loading 'coder.engineer' ai settings.
2023-10-15 16:06:58,135 INFO Loading 'coder.engineer prompts'.
2023-10-15 16:06:58,280 INFO Skip Re-prompt: ENABLED
2023-10-15 16:06:58,370 INFO Using AI Settings File: /app/
2023-10-15 16:06:58,486 INFO Using Prompt Settings File:
Loading