Skip to content

Commit

Permalink
Merge pull request #767 from TransformerOptimus/dev
Browse files Browse the repository at this point in the history
Dev -> Main
  • Loading branch information
I’m authored Jul 14, 2023
2 parents 36eccdc + 65e9a15 commit c5646a9
Show file tree
Hide file tree
Showing 177 changed files with 7,024 additions and 1,712 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,5 @@ gui/.next
venv
workspace/output
workspace/input
celerybeat-schedule
../bfg-report*
2 changes: 1 addition & 1 deletion DockerfileCelery
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ WORKDIR /app
COPY . .
COPY config.yaml .

CMD ["celery", "-A", "superagi.worker", "worker", "--loglevel=info"]
CMD ["celery", "-A", "superagi.worker", "worker", "--beat","--loglevel=info"]
11 changes: 9 additions & 2 deletions config_template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ PINECONE_API_KEY: YOUR_PINECONE_API_KEY
PINECONE_ENVIRONMENT: YOUR_PINECONE_ENVIRONMENT

OPENAI_API_KEY: YOUR_OPEN_API_KEY
PALM_API_KEY: YOUR_PALM_API_KEY

# For locally hosted LLMs comment out the next line and uncomment the one after
# to configure a local llm point your browser to 127.0.0.1:7860 and click on the model tab in text generation web ui.
Expand All @@ -11,6 +12,7 @@ OPENAI_API_BASE: https://api.openai.com/v1

# "gpt-3.5-turbo-0301": 4032, "gpt-4-0314": 8092, "gpt-3.5-turbo": 4032, "gpt-4": 8092, "gpt-4-32k": 32768, "gpt-4-32k-0314": 32768, "llama":2048, "mpt-7b-storywriter":45000
MODEL_NAME: "gpt-3.5-turbo-0301"
# "gpt-3.5-turbo", , "gpt-4", "models/chat-bison-001"
RESOURCES_SUMMARY_MODEL_NAME: "gpt-3.5-turbo"
MAX_TOOL_TOKEN_LIMIT: 800
MAX_MODEL_TOKEN_LIMIT: 4032 # set to 2048 for llama
Expand All @@ -31,7 +33,8 @@ TOOLS_DIR: "superagi/tools"

#STORAGE INFO FOR FILES
RESOURCES_INPUT_ROOT_DIR: workspace/input/{agent_id}
RESOURCES_OUTPUT_ROOT_DIR: workspace/output/{agent_id}
RESOURCES_OUTPUT_ROOT_DIR: workspace/output/{agent_id}/{agent_execution_id} # For keeping resources at agent execution level
#RESOURCES_OUTPUT_ROOT_DIR: workspace/output/{agent_id} # For keeping resources at agent level

#S3 RELATED DETAILS ONLY WHEN STORAGE_TYPE IS "S3"
BUCKET_NAME:
Expand Down Expand Up @@ -110,4 +113,8 @@ ENGINE_ID: "stable-diffusion-xl-beta-v2-2-2"

## To use chroma for vector store in resources manager
#CHROMA_HOST_NAME: YOUR_CHROMA_HOST_NAME
#CHROMA_PORT: YOUR_CHROMA_PORT
#CHROMA_PORT: YOUR_CHROMA_PORT

## To use Qdrant for vector store
#QDRANT_HOST_NAME: YOUR_QDRANT_HOST_NAME
#QDRANT_PORT: YOUR_QDRANT_PORT
141 changes: 140 additions & 1 deletion gui/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions gui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,21 @@
"axios": "^1.4.0",
"bootstrap": "^5.2.3",
"date-fns": "^2.30.0",
"date-fns-tz": "^2.0.0",
"echarts": "^5.4.2",
"echarts-for-react": "^3.0.2",
"eslint": "8.40.0",
"eslint-config-next": "13.4.2",
"jszip": "^3.10.1",
"mitt": "^3.0.0",
"moment": "^2.29.4",
"moment-timezone": "^0.5.43",
"next": "13.4.2",
"react": "18.2.0",
"react-datetime": "^3.2.0",
"react-dom": "18.2.0",
"react-draggable": "^4.4.5",
"react-grid-layout": "^1.3.4",
"react-markdown": "^8.0.7",
"react-toastify": "^9.1.3"
}
Expand Down
10 changes: 10 additions & 0 deletions gui/pages/Content/APM/Apm.module.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
.apm_dashboard_container {
display: flex;
flex-direction: column;
}

.apm_dashboard {
margin-top: 16px;
height: calc(100vh - 14vh);
overflow-y: auto;
}
Loading

0 comments on commit c5646a9

Please sign in to comment.