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

Use beebot autopackai #203

Merged
merged 4 commits into from
Jul 27, 2023
Merged
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
3 changes: 2 additions & 1 deletion .flake8
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@ exclude =
.venv/*,
reports/*,
dist/*,
agent/*
agent/*,
code
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
poetry install -vvv

- name: Lint with flake8
run: poetry run flake8 --exclude=code,agent
run: poetry run flake8

- name: Check black formatting
run: poetry run black . --exclude test.py --check
Expand Down
6 changes: 3 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@
url = https://github.com/SilenNaihin/babyagi.git
branch = benchmark-integration
[submodule "agent/beebot"]
path = agent/beebot
url = https://github.com/merwanehamadi/beebot.git
branch = master
path = agent/beebot
url = https://github.com/AutoPackAI/beebot.git
branch = main
[submodule "agbenchmark/challenges"]
path = agbenchmark/challenges
url = https://github.com/SilenNaihin/agbenchmark_challenges.git
Expand Down
3 changes: 1 addition & 2 deletions agbenchmark/start_benchmark.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@
BENCHMARK_START_TIME = datetime.now().strftime("%Y-%m-%d-%H:%M")

HeliconeLockManager.write_custom_property("benchmark_start_time", BENCHMARK_START_TIME)
if AGENT_NAME:
HeliconeLockManager.write_custom_property("agent_name", AGENT_NAME)

(
HOME_DIRECTORY,
CONFIG_PATH,
Expand Down
2 changes: 1 addition & 1 deletion agent/beebot
Submodule beebot updated 67 files
+9 −2 .env.example
+0 −1 .gitignore
+60 −6 README.md
+0 −0 agbenchmark/__init__.py
+23 −0 agbenchmark/benchmarks.py
+3 −0 agbenchmark/config.json
+1 −0 agbenchmark/regression_tests.json
+0 −0 beebot/api/__init__.py
+115 −0 beebot/api/routes.py
+51 −0 beebot/api/websocket.py
+31 −17 beebot/body/body.py
+4 −3 beebot/body/body_state_machine.py
+11 −3 beebot/body/llm.py
+12 −79 beebot/body/pack_utils.py
+1 −1 beebot/body/revising_prompt.py
+55 −55 beebot/config/config.py
+8 −12 beebot/decider/decider.py
+55 −0 beebot/executor/background_process.py
+1 −1 beebot/executor/executor.py
+3 −1 beebot/function_selection/utils.py
+61 −0 beebot/initiator/api.py
+11 −3 beebot/initiator/cli.py
+18 −0 beebot/memory/memory.py
+18 −4 beebot/memory/memory_chain.py
+2 −1 beebot/models/database_models.py
+17 −11 beebot/packs/__init__.py
+9 −11 beebot/packs/analyze_webpage_content.py
+5 −6 beebot/packs/delegate_task.py
+4 −6 beebot/packs/delete_file.py
+5 −7 beebot/packs/disk_usage.py
+9 −7 beebot/packs/encyclopedia.py
+4 −6 beebot/packs/execute_python_code.py
+46 −15 beebot/packs/execute_python_file.py
+50 −42 beebot/packs/execute_python_file_in_background.py
+14 −13 beebot/packs/exit.py
+6 −7 beebot/packs/get_html_content.py
+19 −10 beebot/packs/get_more_tools.py
+28 −41 beebot/packs/get_process_status.py
+8 −6 beebot/packs/get_website_text_content.py
+24 −22 beebot/packs/gmail.py
+4 −7 beebot/packs/google_search.py
+38 −0 beebot/packs/http_request.py
+53 −0 beebot/packs/install_python_package.py
+42 −0 beebot/packs/kill_process.py
+4 −6 beebot/packs/list_files.py
+29 −0 beebot/packs/list_processes.py
+4 −5 beebot/packs/os_info.py
+4 −5 beebot/packs/read_file.py
+9 −7 beebot/packs/rewind_actions.py
+15 −18 beebot/packs/system_base_pack.py
+11 −8 beebot/packs/wikipedia.py
+9 −7 beebot/packs/wolfram_alpha.py
+5 −5 beebot/packs/write_file.py
+5 −5 beebot/packs/write_python_file.py
+11 −14 beebot/planner/planner.py
+3 −3 beebot/planner/planning_prompt.py
+6 −16 beebot/tool_filters/filter_long_documents.py
+31 −3 beebot/utils.py
+0 −6 config.json
+38 −0 migrations/20230720_01_notify_triggers.sql
+5 −0 migrations/20230720_02_body_packs.sql
+805 −796 poetry.lock
+13 −5 pyproject.toml
+7 −0 setup.sh
+21 −4 tests/conftest.py
+1 −1 tests/end_to_end/test_system_basic_cycle.py
+36 −0 tests/end_to_end/test_webserver.py