Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keep up to date with agpt #8455

Closed
wants to merge 466 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
466 commits
Select commit Hold shift + click to select a range
9d1774d
Workspace : get_workspace() simplification
ph-ausseil Dec 9, 2023
452c4e1
Renaming Vars & Linting
ph-ausseil Dec 9, 2023
922b598
Merge branch 'afaas-core-utils-cleaning' into afaas-dev
ph-ausseil Dec 9, 2023
f8d28c8
Merge branch 'afaas-agptworkspace-integration' into afaas-dev
ph-ausseil Dec 9, 2023
d39e25e
Remove CITATION.cff
ph-ausseil Dec 9, 2023
ecaccff
Merge branch 'afaas-dev' into afaas-logger-new-workspace-integration
ph-ausseil Dec 9, 2023
e9ed501
INIT
ph-ausseil Dec 9, 2023
8b0d91e
Fix : Plan.get_next_task() process
ph-ausseil Dec 9, 2023
d299f50
Merge branch 'afaas-task-refactorization' into afaas-dev
ph-ausseil Dec 9, 2023
2f31b33
Merge branch 'afaas-logger-new-workspace-integration' into afaas-dev
ph-ausseil Dec 9, 2023
f22d086
Fix : Plan.get_next_task() step 1 : Check subtask
ph-ausseil Dec 9, 2023
5498a78
Merge branch 'afaas-task-refactorization' into afaas-dev
ph-ausseil Dec 9, 2023
40e0217
INIT
ph-ausseil Dec 10, 2023
7cda02c
Fix : Change of list when a task is updated
ph-ausseil Dec 10, 2023
61cb19b
Update README.md
ph-ausseil Dec 10, 2023
d6ffd74
Update README.md
ph-ausseil Dec 11, 2023
c1d085a
Update documentation with recent PRs
ph-ausseil Dec 12, 2023
1fa31bf
INIT
ph-ausseil Dec 13, 2023
3cc6093
INIT
ph-ausseil Dec 13, 2023
4a0ed37
INIT : Move PromptManager as a BaseAgent a attribute
ph-ausseil Dec 13, 2023
f8c06e9
Fix bugs
ph-ausseil Dec 13, 2023
7bbbb60
RAG : Minimum Testable Product
ph-ausseil Dec 14, 2023
0c29c37
INIT
ph-ausseil Dec 14, 2023
eec43d5
First batch on constructors
ph-ausseil Dec 14, 2023
513f48a
Second batch of cleaning
ph-ausseil Dec 14, 2023
2ec0daf
Cleanning imports
ph-ausseil Dec 14, 2023
323e8ec
Third batch
ph-ausseil Dec 14, 2023
2e2ed8e
Merge remote-tracking branch 'upstream/master' into 5as-autogpt-integ…
ph-ausseil Dec 15, 2023
e93d33a
Cleaning License
ph-ausseil Dec 15, 2023
ad932a5
Merge branch '5as-autogpt-integration' into afaas-dev
ph-ausseil Dec 15, 2023
a77cf99
Merge branch 'clean-logger' into afaas-dev
ph-ausseil Dec 15, 2023
c74cd04
Fix logger
ph-ausseil Dec 15, 2023
7f4bf43
Remove Workspace dependency from PromptManager
ph-ausseil Dec 16, 2023
ea613d3
Renaming files : DB , Agent, Workspace
ph-ausseil Dec 16, 2023
2cc0813
Renaming Table
ph-ausseil Dec 16, 2023
bccbc51
Fix Logger
ph-ausseil Dec 16, 2023
966b551
Merge branch 'afaas-dev' into create-interfaces
ph-ausseil Dec 16, 2023
9793a96
Workspace : Dependency Injection (Pending...)
ph-ausseil Dec 16, 2023
4653a62
Renaming PromptStrategy as Interface
ph-ausseil Dec 16, 2023
4a5393f
Fix PromptStrategy
ph-ausseil Dec 16, 2023
7d29563
Saving progress
ph-ausseil Dec 16, 2023
86c9cbd
Init : Fix imports
ph-ausseil Dec 16, 2023
772dac0
Starting ModelProvider renaming
ph-ausseil Dec 16, 2023
7eb463d
Finish renaming providers to adapters
ph-ausseil Dec 16, 2023
8440e8f
Renaming lib, utils & config
ph-ausseil Dec 16, 2023
9929636
INIT
ph-ausseil Dec 17, 2023
95231b1
Fix recursive imports
ph-ausseil Dec 17, 2023
50563fe
Merge branch 'create-interface-v3' into task-interfaces
ph-ausseil Dec 17, 2023
e177ee3
Fix recursive imports
ph-ausseil Dec 17, 2023
2db92e8
INIT
ph-ausseil Dec 17, 2023
8f58cda
Dcoupling between Adapter, ChatMessage & Role
ph-ausseil Dec 17, 2023
2dafb4a
Split OpenAIModelProvider
ph-ausseil Dec 17, 2023
a96ddd2
Decoupling OpenAI
ph-ausseil Dec 18, 2023
fef2fe4
Update : select_tool strategy
ph-ausseil Dec 18, 2023
9e277ce
Update afaas-label.yml
ph-ausseil Dec 18, 2023
9062bff
Remove unused code
ph-ausseil Dec 18, 2023
32a6703
Merge pull request #36 from ph-ausseil/new-strategy
ph-ausseil Dec 18, 2023
25a3905
LINT
ph-ausseil Dec 18, 2023
7512ace
Merge pull request #37 from ph-ausseil/afaas-dev
ph-ausseil Dec 18, 2023
02249cd
INIT
ph-ausseil Dec 18, 2023
7194199
PromptManager Decoupled (now fixing bug)
ph-ausseil Dec 18, 2023
80f68a4
Fix minor bugs
ph-ausseil Dec 19, 2023
bf30d6e
Update-CI
ph-ausseil Dec 19, 2023
bbd7098
INIT
ph-ausseil Dec 21, 2023
6391ef2
INIT
ph-ausseil Dec 21, 2023
a413106
INIT
ph-ausseil Dec 22, 2023
df63c1c
Fixed bugs & tested with GPT-3
ph-ausseil Dec 22, 2023
4bddab8
Update-ci & gitignore
ph-ausseil Dec 22, 2023
316a6e5
INIT
ph-ausseil Dec 22, 2023
6bd0768
+S3
ph-ausseil Dec 22, 2023
8c782c3
INIT
ph-ausseil Dec 22, 2023
2567ea1
Bug fixes
ph-ausseil Dec 22, 2023
9e9578e
Plan : Add initial tasks long descriptions
ph-ausseil Dec 22, 2023
ff99edb
Merge pull request #38 from ph-ausseil/afaas-dev
ph-ausseil Dec 22, 2023
98bed28
Remove commented code in BaseAgent
ph-ausseil Dec 22, 2023
162a726
Refactor task parent identification for Plan class
ph-ausseil Dec 22, 2023
08d38b4
Merge pull request #40 from ph-ausseil/ph-ausseil/issue39
ph-ausseil Dec 22, 2023
9e3008e
Merge pull request #42 from ph-ausseil/ph-ausseil/issue41
ph-ausseil Dec 22, 2023
8edfa9a
Remove submodule
ph-ausseil Dec 22, 2023
12056df
Update CI
ph-ausseil Dec 22, 2023
19c2208
More CI Updates
ph-ausseil Dec 22, 2023
e248d99
LINTING
ph-ausseil Dec 22, 2023
22cd5b8
Update pyproject
ph-ausseil Dec 22, 2023
fa60060
Fix CI-Changelog
ph-ausseil Dec 23, 2023
3269ccd
Update cli.py for easier use
ph-ausseil Dec 23, 2023
4ffe992
INIT
ph-ausseil Dec 23, 2023
2e0b7f7
req : -agbenchmark + python 3.11
ph-ausseil Dec 23, 2023
d64cfbb
Merge branch 'fix-recursive-import' into build-ci-and-run-script
ph-ausseil Dec 23, 2023
f670688
Saving progress
ph-ausseil Dec 23, 2023
b281dac
Autopep8 run
ph-ausseil Dec 23, 2023
3925e3c
Applied isort , still issues with W293
ph-ausseil Dec 23, 2023
1180c88
Fixed W293
ph-ausseil Dec 23, 2023
38e2090
create lint.sh
ph-ausseil Dec 23, 2023
9258467
deactivate unit tests
ph-ausseil Dec 23, 2023
1e30513
Fix : Merge pull request #43 from ph-ausseil/fix-recursive-import
ph-ausseil Dec 23, 2023
f70ad05
INIT
ph-ausseil Dec 23, 2023
8589bd1
Fix: github.context.actor
ph-ausseil Dec 23, 2023
0dcf78a
Add tests settings to .vscode
ph-ausseil Dec 27, 2023
f1ca196
Constantly use LOG.level <= LOG.DEBUG in cli_app/main.py
ph-ausseil Dec 27, 2023
e7c0946
Merge branch 'master' into build-contributor-label
ph-ausseil Dec 28, 2023
57d4f58
Merge pull request #50 from ph-ausseil/ph-ausseil/issue48
ph-ausseil Dec 28, 2023
44d06dd
Merge pull request #44 from ph-ausseil/build-contributor-label
ph-ausseil Dec 28, 2023
8ed63e2
Add consoe.log debug message for easier debugging
ph-ausseil Dec 28, 2023
d5b3792
Merge branch 'master' into ph-ausseil/issue49
ph-ausseil Dec 28, 2023
fabd709
Merge pull request #52 from ph-ausseil/ph-ausseil/issue49
ph-ausseil Dec 28, 2023
f31c76d
Merge pull request #61 from ph-ausseil/58-add-console-debug-message-t…
ph-ausseil Dec 28, 2023
106c0c1
INIT (#46)
ph-ausseil Dec 31, 2023
319e409
V0.0.0 dev (#67)
ph-ausseil Jan 3, 2024
9674b98
Milestone : V0.0.1 (#105)
ph-ausseil Jan 21, 2024
f01b74f
INIT with 100p test passed (#133)
ph-ausseil Jan 23, 2024
c957d26
Update README.md
ph-ausseil Jan 24, 2024
d3d6ab5
🔧 : Update langchain dependency to 0.1.* (#142)
ph-ausseil Jan 28, 2024
29e7447
INIT
ph-ausseil Jan 28, 2024
89b8926
INIT (#149)
ph-ausseil Feb 1, 2024
a27cd32
✨ : User proxy : Provide answer to trivial questions that do not requ…
ph-ausseil Feb 1, 2024
a3bdbcf
INIT (#139)
ph-ausseil Feb 1, 2024
27b88e6
✨ : Task : Add a method to clone a `Task` (#140)
ph-ausseil Feb 1, 2024
7088127
✨ : `VectorStoreWrapper` : Create an Abstraction Layer for simple int…
ph-ausseil Feb 1, 2024
9b85ed6
INIT (#145)
ph-ausseil Feb 1, 2024
500e597
INIT (#146)
ph-ausseil Feb 1, 2024
e159e9a
🚀 : Refactor `prepare_rag` to `task_preprocessing` in `AbstractTask` …
ph-ausseil Feb 2, 2024
30e3bb3
Update `AFAAS` with `AutoGPT` Changes from January 2024 (#150)
ph-ausseil Feb 2, 2024
e4a85fb
INIT (#151)
ph-ausseil Feb 2, 2024
21e2dd4
🏗️ : v0.0.2 test coverage objective : implementing `test_task.py` (#143)
ph-ausseil Feb 3, 2024
6cfade0
🚀 : Retry a task if its last execution has failed (following #151) (#…
ph-ausseil Feb 3, 2024
31c85c6
feat(agent/web): Add browser extensions to deal with cookie walls and…
Pwuts Feb 2, 2024
bd1dee5
Merge remote-tracking branch 'upstream/master' into fix-agpt-merge
ph-ausseil Feb 3, 2024
1caa113
Merge pull request #153 from ph-ausseil/fix-agpt-merge
ph-ausseil Feb 3, 2024
2dee9f1
v0.0.2-preview release lint
ph-ausseil Feb 3, 2024
6ff292e
Merge pull request #154 from ph-ausseil/v0.0.2-preview-lint
ph-ausseil Feb 3, 2024
cee23b6
Merge branch 'master' into reactivate-user-context
ph-ausseil Feb 3, 2024
b3e79ed
patch v0.0.2-planner-main-loop-bug
ph-ausseil Feb 3, 2024
2a20ad6
Fix a bug that changes the orders of tasks
ph-ausseil Feb 5, 2024
b7ddbab
Fix a bug that changes the order of tasks part 2
ph-ausseil Feb 5, 2024
f950eb6
patch v0.0.2-planner-main-loop-bug
ph-ausseil Feb 3, 2024
20f68f1
Merge pull request #155 from ph-ausseil/patch-v0.0.2-planner-main-loo…
ph-ausseil Feb 5, 2024
cc73a61
Set refine_user_context_task as first task
ph-ausseil Feb 5, 2024
1c21a98
Migrated to Jinja
ph-ausseil Feb 5, 2024
f1c1708
Remove unused code
ph-ausseil Feb 5, 2024
378cbde
Creeate a tool to refine requirements
ph-ausseil Feb 5, 2024
2382de9
INIT
ph-ausseil Feb 5, 2024
b1c9223
Merge pull request #156 from ph-ausseil/move-tests
ph-ausseil Feb 5, 2024
945f04d
Set refine_user_context_task as first task
ph-ausseil Feb 5, 2024
dc723d2
Fix a bug that changes the orders of tasks
ph-ausseil Feb 5, 2024
ed4a848
Fix a bug that changes the order of tasks part 2
ph-ausseil Feb 5, 2024
09704fe
🐞 : Fix a bug that mixed the order of tasks that are ready #157
ph-ausseil Feb 5, 2024
0631889
Merge branch 'master' into reactivate-user-context
ph-ausseil Feb 5, 2024
7d9111e
Rename `task_overide_tool_success_check_callback`
ph-ausseil Feb 5, 2024
0c3a1a4
Fix impors
ph-ausseil Feb 5, 2024
5f43eec
🔧 : Fix tests.utils imports after #156 #158
ph-ausseil Feb 5, 2024
b0f2a3f
Merge branch 'master' into reactivate-user-context
ph-ausseil Feb 5, 2024
3185ff1
Unit test (need integration)
ph-ausseil Feb 5, 2024
049f2ea
Delete UserContextAgent
ph-ausseil Feb 5, 2024
7e75e48
Update prompt_manager.py
ph-ausseil Feb 6, 2024
36af864
Merge branch 'add-method-load-strategy' into reactivate-user-context
ph-ausseil Feb 6, 2024
d296f16
INIT
ph-ausseil Feb 6, 2024
7a9ef2c
Update main.py
ph-ausseil Feb 6, 2024
c032b1c
Merge pull request #160 from ph-ausseil/abstract-class-promt-tool
ph-ausseil Feb 6, 2024
eb96811
Merge branch 'master' into add-method-load-strategy
ph-ausseil Feb 6, 2024
d2619b8
Merge branch 'add-method-load-strategy' into reactivate-user-context
ph-ausseil Feb 6, 2024
4cffa32
INIT
ph-ausseil Feb 6, 2024
48674c4
Cleaaning
ph-ausseil Feb 6, 2024
bb0649d
INIT
ph-ausseil Feb 6, 2024
a767762
Delete AFAAS/lib/action.py
ph-ausseil Feb 6, 2024
245d95d
Merge pull request #163 from ph-ausseil/delete-lib-action
ph-ausseil Feb 6, 2024
0a8ada7
INIT
ph-ausseil Feb 6, 2024
eedbb52
Merge pull request #159 from ph-ausseil/add-method-load-strategy
ph-ausseil Feb 7, 2024
b16b5f8
Merge pull request #144 from ph-ausseil/reactivate-user-context
ph-ausseil Feb 7, 2024
b1e7b61
Merge pull request #161 from ph-ausseil/add-routing-pipelines
ph-ausseil Feb 7, 2024
9e62677
Merge pull request #162 from ph-ausseil/0.0.3-clean-main-loop
ph-ausseil Feb 7, 2024
8ca193e
Merge pull request #164 from ph-ausseil/add-autocorrection-strategy
ph-ausseil Feb 7, 2024
b9c583a
INIT
ph-ausseil Feb 7, 2024
f9c560a
Merge pull request #167 from ph-ausseil/clean-code-coverage
ph-ausseil Feb 7, 2024
9cb838e
INIT
ph-ausseil Feb 7, 2024
7a94969
INIT
ph-ausseil Feb 7, 2024
aa8c3a6
Merge branch 'remove-agpt-config-artefact' into migration-pydantic-2
ph-ausseil Feb 7, 2024
2c70c4c
Saving Progress
ph-ausseil Feb 7, 2024
0191258
Remove more config artefacts
ph-ausseil Feb 7, 2024
1a3aad2
Merge branch 'remove-agpt-config-artefact' into migration-pydantic-2
ph-ausseil Feb 7, 2024
9479488
Saving progress
ph-ausseil Feb 7, 2024
46fa927
Saving progress : Pytests Runs
ph-ausseil Feb 7, 2024
07ed6fc
Saving Progress : App Launch but facing Forwardref/import issues
ph-ausseil Feb 7, 2024
b7391ac
Remove UserConfigurable
ph-ausseil Feb 7, 2024
0e3d9c7
INIT
ph-ausseil Feb 7, 2024
17c66a9
Merge pull request #169 from ph-ausseil/update-launch.json
ph-ausseil Feb 7, 2024
37cfb95
Merge pull request #168 from ph-ausseil/remove-agpt-config-artefact
ph-ausseil Feb 7, 2024
9f476e8
Merge branch 'master' into migration-pydantic-2
ph-ausseil Feb 7, 2024
0842306
Saving progress
ph-ausseil Feb 8, 2024
c23c94d
Saving progress
ph-ausseil Feb 8, 2024
e1ecbd1
create getters for plan
ph-ausseil Feb 8, 2024
2f1f78d
Merge branch 'use-getter-in-plan' into migration-pydantic-2
ph-ausseil Feb 8, 2024
e90fa9a
Plan setters
ph-ausseil Feb 8, 2024
fd0b0a9
Plan setters
ph-ausseil Feb 8, 2024
10266a7
Update plan.py
ph-ausseil Feb 8, 2024
6b033a0
Merge branch 'use-getter-in-plan' into migration-pydantic-2
ph-ausseil Feb 8, 2024
486f75a
app works but not tests
ph-ausseil Feb 8, 2024
31131dc
Saving Progress
ph-ausseil Feb 8, 2024
ec9cf18
Agent run & Pass unit tests
ph-ausseil Feb 9, 2024
03b4399
Merge pull request #171 from ph-ausseil/use-getter-in-plan
ph-ausseil Feb 9, 2024
631437a
Cleanning
ph-ausseil Feb 9, 2024
a8cf38c
INIT
ph-ausseil Feb 9, 2024
891da68
Set a wrapper & pass all tests :+1:
ph-ausseil Feb 9, 2024
319a97b
INIT
ph-ausseil Feb 10, 2024
318dd99
Pass all unit tests
ph-ausseil Feb 10, 2024
9f79dee
INIT
ph-ausseil Feb 10, 2024
6e0292c
Merge branch 'move-llm-provider-to-langchain-pt2' into move-llm-provi…
ph-ausseil Feb 10, 2024
0efeb20
Saving progress
ph-ausseil Feb 10, 2024
04be752
Saving progress
ph-ausseil Feb 11, 2024
c568a44
Full e2e langchain integration for OpenAI
ph-ausseil Feb 11, 2024
0d82141
#170 🚀 : Moving from Pydantic 1.10.x to 2.6.x
ph-ausseil Feb 11, 2024
1b3fdbd
#172 🔧 : LLM via Langchain, step 1 : Create a `ChatModelWrapper` to s…
ph-ausseil Feb 11, 2024
85d784e
#173 🔧 : LLM via Langchain, step 2 : Create ChatCompletionKwargs ; to…
ph-ausseil Feb 11, 2024
dca4744
Update chatmodel.py
ph-ausseil Feb 11, 2024
6d4715c
INIT
ph-ausseil Feb 21, 2024
9cfc2a9
🚀 : LLM via Langchain, step 3 : End-to-End Langchain Integration for …
ph-ausseil Feb 21, 2024
a03a00f
Fix bugs & Minor enhancements
ph-ausseil Feb 21, 2024
4232f0f
Remove unused code from strategies & set custom model & temperature f…
ph-ausseil Feb 22, 2024
6c244db
Change Temperature of Strategies
ph-ausseil Feb 22, 2024
2166409
Remove agpt herited unusedcode
ph-ausseil Feb 22, 2024
0b37409
change dict() to model_dump()
ph-ausseil Feb 23, 2024
be3b306
More dict() converted to model_dump()
ph-ausseil Feb 23, 2024
1f646c3
Remove has_oa_function_call_api
ph-ausseil Feb 24, 2024
439a0ed
Type Pipeline functions
ph-ausseil Feb 25, 2024
5884213
Remove code mistakenly commited
ph-ausseil Feb 25, 2024
e407756
Create `OutputTypeManager`, `Output` and rewrite `ToolOutput`
ph-ausseil Feb 25, 2024
88885f1
feat(platform): Add default secrets (#8452)
aarushik93 Oct 25, 2024
631971a
chore : stronger Typing
ph-ausseil Oct 26, 2024
c941468
Merge branch 'master' into adapt-llm-wrapper-4-agpt
ph-ausseil Oct 26, 2024
7dc47db
Merge pull request #176 from ph-ausseil/adapt-llm-wrapper-4-agpt
ph-ausseil Oct 26, 2024
6c42e90
Merge branch 'master' into clean-strategies
ph-ausseil Oct 26, 2024
187e394
init
ph-ausseil Oct 26, 2024
40638d0
Merge pull request #178 from ph-ausseil/clean-strategies
ph-ausseil Oct 26, 2024
7467e89
Merge branch 'master' into 0.0.4-remove-unused-code
ph-ausseil Oct 26, 2024
4e29bd6
Merge pull request #179 from ph-ausseil/0.0.4-remove-unused-code
ph-ausseil Oct 26, 2024
9c2d59c
Merge branch 'master' into 0.0.4-clean-pydantic-warning
ph-ausseil Oct 26, 2024
738a45b
Merge pull request #180 from ph-ausseil/0.0.4-clean-pydantic-warning
ph-ausseil Oct 26, 2024
b95c2fd
Merge branch 'master' into 0.0.4-remove-has-oa-function-and-add-depen…
ph-ausseil Oct 26, 2024
f4e82e4
Merge pull request #181 from ph-ausseil/0.0.4-remove-has-oa-function-…
ph-ausseil Oct 26, 2024
0778cba
Merge branch 'master' into 0.0.4-type-pipeline-functions
ph-ausseil Oct 26, 2024
16cee69
Merge pull request #182 from ph-ausseil/0.0.4-type-pipeline-functions
ph-ausseil Oct 26, 2024
2436bb2
Merge branch 'master' into 0.0.4-refactor-tool-output
ph-ausseil Oct 26, 2024
9c02971
Fix : ToolOutput Default Values
ph-ausseil Oct 26, 2024
586adf2
Merge pull request #183 from ph-ausseil/0.0.4-refactor-tool-output
ph-ausseil Oct 26, 2024
c01cf70
Merge branch 'master' into 0.0.4-remove-agpt-config
ph-ausseil Oct 26, 2024
a583ed4
Merge pull request #184 from ph-ausseil/0.0.4-remove-agpt-config
ph-ausseil Oct 26, 2024
fe4b02d
update : .gitignore
ph-ausseil Oct 26, 2024
19044dd
update workspace
ph-ausseil Oct 26, 2024
1664714
Update .gitignore
ph-ausseil Oct 26, 2024
f558372
Update .gitattributes
ph-ausseil Oct 26, 2024
080233b
Merge : Solving conflicts
ph-ausseil Oct 26, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
26 changes: 26 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
[report]
exclude_lines =
pragma: no cover
pragma: no coverage test (do not delete)
def __repr__
if self\.debug
raise AssertionError
raise NotImplementedError
if 0:
if __name__ == ["']__main__["']:

fail_under = 100
show_missing = True

[run]
relative_files = true
omit =
AFAAS/core/user/*
AFAAS/core/ability/*
AFAAS/lib/message_agent_*
AFAAS/core/db/nosql/cosmodb.py
AFAAS/core/db/nosql/dynamodb.py
AFAAS/core/db/nosql/mongodb.py
AFAAS/core/db/sqllikejsonfile.py
AFAAS/core/db/table/nosql/message_agent_*
AFAAS/plugins/tools/__to_be_migrated/*
20 changes: 20 additions & 0 deletions .flake8
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
[flake8]
max-line-length = 88
select = "E303, W293, W292, E305, E231, E302"
exclude =
.tox,
__pycache__,
*.pyc,
.env
venv*/*,
.venv/*,
reports/*,
dist/*,
agent/*,
code,
agbenchmark/challenges/*
autogpts
benchmark
.vscode
.github
.github/*
9 changes: 2 additions & 7 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
classic/frontend/build/** linguist-generated
frontend/build/* linguist-generated

**/poetry.lock linguist-generated

docs/_javascript/** linguist-vendored

# Exclude VCR cassettes from stats
classic/forge/tests/vcr_cassettes/**/**.y*ml linguist-generated

* text=auto
autogpt_platform/** merge=ours
12 changes: 5 additions & 7 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
* @Significant-Gravitas/maintainers
.github/workflows/ @Significant-Gravitas/devops
classic/forge/ @Significant-Gravitas/forge-maintainers
classic/benchmark/ @Significant-Gravitas/benchmark-maintainers
classic/frontend/ @Significant-Gravitas/frontend-maintainers
autogpt_platform/infra @Significant-Gravitas/devops
.github/CODEOWNERS @Significant-Gravitas/admins
.github/workflows/ @Significant-Gravitas/maintainers
autogpts/autogpt/ @Pwuts
benchmark/ @Significant-Gravitas/benchmarkers
forge/ @Swiftyos
frontend/ @hunteraraujo
67 changes: 29 additions & 38 deletions .github/ISSUE_TEMPLATE/1.bug.yml
Original file line number Diff line number Diff line change
@@ -1,32 +1,24 @@
name: Bug report 🐛
description: Create a bug report for AutoGPT.
description: Create a bug report for AFAAS.
labels: ['status: needs triage']
body:
- type: markdown
attributes:
value: |
### ⚠️ Before you continue
* Check out our [backlog], [roadmap] and join our [discord] to discuss what's going on
* If you need help, you can ask in the [discussions] section or in [#tech-support]

This issues are looking for contributor : https://github.com/users/ph-ausseil/projects/1/views/2?layout=table&filterQuery=status%3A%22Looking+for+a+volunteer%22

* **Thoroughly search the [existing issues] before creating a new one**
* Read our [wiki page on Contributing]
[backlog]: https://github.com/orgs/Significant-Gravitas/projects/1
[roadmap]: https://github.com/orgs/Significant-Gravitas/projects/2
[discord]: https://discord.gg/autogpt
[discussions]: https://github.com/Significant-Gravitas/AutoGPT/discussions
[#tech-support]: https://discord.com/channels/1092243196446249134/1092275629602394184
[existing issues]: https://github.com/Significant-Gravitas/AutoGPT/issues?q=is%3Aissue
[wiki page on Contributing]: https://github.com/Significant-Gravitas/AutoGPT/wiki/Contributing
[existing issues]: https://github.com/ph-ausseil/AFAAS/issues?q=is%3Aissue

- type: checkboxes

- type: markdown
attributes:
label: ⚠️ Search for existing issues first ⚠️
description: >
Please [search the history](https://github.com/Significant-Gravitas/AutoGPT/issues)
to see if an issue already exists for the same problem.
options:
- label: I have searched the existing issues, and there is no existing issue for my problem
required: true
value: |
⚠️ Please do not prefix your Title with "Bug" , "Fix" , our CI does it ⚠️

Provide a meanful title that leaves to no ambiguity

- type: markdown
attributes:
Expand All @@ -35,16 +27,15 @@ body:
A good rule of thumb: What would you type if you were searching for the issue?

For example:
BAD - my AutoGPT keeps looping
GOOD - After performing execute_python_file, AutoGPT goes into a loop where it keeps trying to execute the file.
BAD - my AFAAS keeps looping
GOOD - After performing execute_python_file, AFAAS goes into a loop where it keeps trying to execute the file.

⚠️ SUPER-busy repo, please help the volunteer maintainers.
The less time we spend here, the more time we can spend building AutoGPT.
The less time we spend here, the more time we can spend building AFAAS.

Please help us help you by following these steps:
- Search for existing issues, adding a comment when you have the same or similar issue is tidier than "new issue" and
newer issues will not be reviewed earlier, this is dependent on the current priorities set by our wonderful team
- Ask on our Discord if your issue is known when you are unsure (https://discord.gg/autogpt)
- Provide relevant info:
- Provide commit-hash (`git rev-parse HEAD` gets it) if possible
- If it's a pip/packages issue, mention this in the title and provide pip version, python version
Expand All @@ -54,7 +45,7 @@ body:
attributes:
label: Which Operating System are you using?
description: >
Please select the operating system you were using to run AutoGPT when this problem occurred.
Please select the operating system you were using to run AFAAS when this problem occurred.
options:
- Windows
- Linux
Expand All @@ -73,12 +64,12 @@ body:

- type: dropdown
attributes:
label: Which version of AutoGPT are you using?
label: Which version of AFAAS are you using?
description: |
Please select which version of AutoGPT you were using when this issue occurred.
If you downloaded the code from the [releases page](https://github.com/Significant-Gravitas/AutoGPT/releases/) make sure you were using the latest code.
**If you weren't please try with the [latest code](https://github.com/Significant-Gravitas/AutoGPT/releases/)**.
If installed with git you can run `git branch` to see which version of AutoGPT you are running.
Please select which version of AFAAS you were using when this issue occurred.
If you downloaded the code from the [releases page](https://github.com/ph-ausseil/AFAAS/releases/) make sure you were using the latest code.
**If you weren't please try with the [latest code](https://github.com/ph-ausseil/AFAAS/releases/)**.
If installed with git you can run `git branch` to see which version of AFAAS you are running.
options:
- Latest Release
- Stable (branch)
Expand All @@ -90,8 +81,8 @@ body:
attributes:
label: What LLM Provider do you use?
description: >
If you are using AutoGPT with `SMART_LLM=gpt-3.5-turbo`, your problems may be caused by
the [limitations](https://github.com/Significant-Gravitas/AutoGPT/issues?q=is%3Aissue+label%3A%22AI+model+limitation%22) of GPT-3.5.
If you are using AFAAS with `--gpt3only`, your problems may be caused by
the [limitations](https://github.com/ph-ausseil/AFAAS/issues?q=is%3Aissue+label%3A%22AI+model+limitation%22) of GPT-3.5.
options:
- Azure
- Groq
Expand Down Expand Up @@ -148,16 +139,16 @@ body:
value: |
⚠️The following is OPTIONAL, please keep in mind that the log files may contain personal information such as credentials.⚠️

"The log files are located in the folder 'logs' inside the main AutoGPT folder."
"The log files are located in the folder 'logs' inside the main AFAAS folder."

- type: textarea
attributes:
label: Upload Activity Log Content
description: |
Upload the activity log content, this can help us understand the issue better.
To do this, go to the folder logs in your main AutoGPT folder, open activity.log and copy/paste the contents to this field.
⚠️ The activity log may contain personal data given to AutoGPT by you in prompt or input as well as
any personal information that AutoGPT collected out of files during last run. Do not add the activity log if you are not comfortable with sharing it. ⚠️
To do this, go to the folder logs in your main AFAAS folder, open activity.log and copy/paste the contents to this field.
⚠️ The activity log may contain personal data given to AFAAS by you in prompt or input as well as
any personal information that AFAAS collected out of files during last run. Do not add the activity log if you are not comfortable with sharing it. ⚠️
validations:
required: false

Expand All @@ -166,8 +157,8 @@ body:
label: Upload Error Log Content
description: |
Upload the error log content, this will help us understand the issue better.
To do this, go to the folder logs in your main AutoGPT folder, open error.log and copy/paste the contents to this field.
⚠️ The error log may contain personal data given to AutoGPT by you in prompt or input as well as
any personal information that AutoGPT collected out of files during last run. Do not add the activity log if you are not comfortable with sharing it. ⚠️
To do this, go to the folder logs in your main AFAAS folder, open error.log and copy/paste the contents to this field.
⚠️ The error log may contain personal data given to AFAAS by you in prompt or input as well as
any personal information that AFAAS collected out of files during last run. Do not add the activity log if you are not comfortable with sharing it. ⚠️
validations:
required: false
23 changes: 14 additions & 9 deletions .github/ISSUE_TEMPLATE/2.feature.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,24 @@
name: Feature request 🚀
description: Suggest a new idea for AutoGPT!
description: Suggest a new idea !
labels: ['status: needs triage']
body:
- type: markdown
attributes:
value: |
First, check out our [wiki page on Contributing](https://github.com/Significant-Gravitas/AutoGPT/wiki/Contributing)
Please provide a searchable summary of the issue in the title above ⬆️.
- type: checkboxes
### ⚠️ Before you continue

This issues are looking for contributor : https://github.com/users/ph-ausseil/projects/1/views/2?layout=table&filterQuery=status%3A%22Looking+for+a+volunteer%22

* **Thoroughly search the [existing issues] before creating a new one**
[existing issues]: https://github.com/ph-ausseil/AFAAS/issues?q=is%3Aissue


- type: markdown
attributes:
label: Duplicates
description: Please [search the history](https://github.com/Significant-Gravitas/AutoGPT/issues) to see if an issue already exists for the same problem.
options:
- label: I have searched the existing issues
required: true
value: |
⚠️ Please do not prefix your Title with "Bug" , "Fix" , our CI does it ⚠️

Provide a meanful title that leaves to no ambiguity
- type: textarea
attributes:
label: Summary 💡
Expand Down
37 changes: 12 additions & 25 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,36 +1,23 @@
### Background
## PR Title

<!-- Clearly explain the need for these changes: -->
⚠️ Please do not prefix your Title with "Bug" , "Fix" , our CI does it ⚠️

Provide a meanful title that leaves to no ambiguity

### Changes 🏗️

<!-- Concisely describe all of the changes made in this pull request: -->

### PR Quality Scorecard ✨

### Testing 🔍
> [!NOTE]
Only for the new autogpt platform, currently in autogpt_platform/

<!--
Please make sure your changes have been tested and are in good working condition.
Here is a list of our critical paths, if you need some inspiration on what and how to test:
-->

- Create from scratch and execute an agent with at least 3 blocks
- Import an agent from file upload, and confirm it executes correctly
- Upload agent to marketplace
- Import an agent from marketplace and confirm it executes correctly
- Edit an agent from monitor, and confirm it executes correctly
### Mandatory

### Configuration Changes 📝
> [!NOTE]
Only for the new autogpt platform, currently in autogpt_platform/
- [ ] **My contribution is available under MIT Licence**

If you're making configuration or infrastructure changes, please remember to check you've updated the related infrastructure code in the autogpt_platform/infra folder.
### Optional

Examples of such changes might include:
- [ ] I have run the lint script `./lint.sh`
- I have included unit tests
- For new feature
- [ ] Have you added/updated corresponding documentation (for new feature)?

- Changing ports
- Adding new services that need to communicate with each other
- Secrets or environment variable changes
- New or infrastructure changes such as databases
67 changes: 67 additions & 0 deletions .github/workflows/afaas-changelog.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
name: Update Changelog and Readme

on:
schedule:
# Runs at 00:00 UTC every day
- cron: '0 0 * * *'
workflow_dispatch: # Allows manual triggering of the workflow

jobs:
update-docs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Fetch Merged PRs and Update Docs
id: fetch-merged-prs # Assign an ID to this step
uses: actions/github-script@v7
with:
script: |
const yesterday = new Date();
yesterday.setDate(yesterday.getDate() - 1);
console.log('Yesterday:', yesterday); // Debugging log

try {
const formattedDate = yesterday.toISOString().split('T')[0];
console.log(`Formatted Date: ${formattedDate}`); // Debugging log
const query = `repo:${context.repo.owner}/${context.repo.repo} is:pr is:merged merged:>=${formattedDate}`;
const prs = await github.rest.search.issuesAndPullRequests({ q: query });

let docsContent = '';
for (const pr of prs.data.items) {
if (pr.merged_at) {
console.log('PR Merged At:', pr.merged_at); // Debugging log
try {
const prDate = new Date(pr.merged_at).toISOString().split('T')[0];
docsContent += `${prDate} - [PR #${pr.number}](${pr.html_url}) : ${pr.title} [@${pr.user.login}](${pr.user.html_url})\n`;
} catch (error) {
console.error('Error processing PR:', pr.number, error);
}
}
else {
console.log('PR not merged:', pr.number); // Debugging log
}
}

if (docsContent) {
const fs = require('fs');
// Append to CHANGELOG.md
fs.appendFileSync('CHANGELOG.md', docsContent);
// Append to README.md
fs.appendFileSync('README.md', docsContent);
core.setOutput('updated', true);
}
} catch (error) {
console.error('Error occurred:', error);
core.setFailed(`Action failed with error: ${error}`);
}

- name: Commit and push if changed
if: steps.fetch-merged-prs.outputs.updated == 'true'
run: |
git config --global user.email "[email protected]"
git config --global user.name "GitHub Action"
git add CHANGELOG.md README.md
git commit -m "Update documentation with recent PRs"
git push
Loading
Loading