Commit Graph

5781 Commits

Author SHA1 Message Date
Zamil Majdy
ab3a62995f Revert 2024-09-17 21:00:47 -05:00
Zamil Majdy
f2e9a8463d Move shutil in 2024-09-17 20:55:20 -05:00
Zamil Majdy
107148749b Move venv in 2024-09-17 20:51:56 -05:00
Zamil Majdy
17f1d33ed3 Revert 2024-09-17 20:46:01 -05:00
Zamil Majdy
b3a0fc538a Revert 2024-09-17 20:39:29 -05:00
Zamil Majdy
e818bbf859
Merge branch 'master' into ntindle/samples 2024-09-17 18:30:23 -05:00
Nicholas Tindle
069ec89691
Update test_manager.py 2024-09-17 10:07:41 -05:00
Nicholas Tindle
f6ab15db47
feat(market): add filters to the market queries (#8064) 2024-09-17 14:59:25 +00:00
Nicholas Tindle
84d490bcb1
Merge branch 'master' into ntindle/samples 2024-09-17 09:46:22 -05:00
Krzysztof Czerwinski
80161decb9
feat(server): Add credentials API endpoints (#8024)
- Add two endpoints to OAuth `integrations.py`:
  - `GET /integrations/{provider}/credentials` - list all credentials for a provider, without secrets (metadata only)
   - `GET /integrations/{provider}/credentials/{cred_id}` - retrieve a set of credentials (including secrets)

- Add `username` property to `Credentials` types
   - Add logic to populate `username` in OAuth handlers

- Expand `CredentialsMetaResponse` and remove `credentials_` prefix from properties

- Fix `autogpt_libs` dependency caching issue

- Remove accidentally duplicated OAuth handler files in `autogpt_server/integrations`
2024-09-17 11:16:16 +00:00
Swifty
0bf8edcd96
fix(autogpt_server): Fix vulnerability in Dockerfile (#8071) 2024-09-17 11:37:22 +01:00
Nicholas Tindle
9368956d5d
Update test_manager.py 2024-09-16 14:53:28 -05:00
Nicholas Tindle
2c3bde0c53
Merge branch 'master' into ntindle/samples 2024-09-16 14:40:12 -05:00
Nicholas Tindle
104b56628e
fix: merge oops 2024-09-16 14:39:23 -05:00
Zamil Majdy
b1347a92de
fix(rnd): Fix execution error on non-saved agent (#8054) 2024-09-16 19:35:31 +00:00
Nicholas Tindle
22ce8e0047
feat(builder): sentry integration (#8053) 2024-09-16 23:19:52 +07:00
Bently
5a7193cfb7
Feat(Builder): Add Runner input and ouput screens (#8038)
* Feat(Builder): Add Runner input and ouput screens

* Fix run button not working

* prettier

* prettier again -- forgot flow

* fix input scaling + auto close on run

* removed "Runner Input" button to make it auto open runner input if input block is  + Fixed issue with output not showing in output UI

* replaced runner output icon and added a new icon for it

* replaced IconOutput icon with LogOut from lucide-react

* prettier

* fix type safety issue + add error handling for formatOutput

* Updates based on comments

* prettier for utils
2024-09-16 13:05:07 +02:00
Nicholas Tindle
15ac526eee
Merge branch 'master' into ntindle/samples 2024-09-15 10:26:49 -05:00
Zamil Majdy
c1f301ab8b
feat(rnd): Add initial credit accounting system for block execution (#8047)
### Background

We need a way to set an execution quota per user for each block execution.

### Changes 🏗️

* Introduced a `UserBlockCredit`, a transaction table tracking the block usage along with it cost/quota.
* The tracking is toggled by `ENABLE_CREDIT` config, default = false.
* Introduced  `BLOCK_COSTS` | `GET /blocks/costs` as a source of information for the cost on each block depending on the input configuration.

Improvements:
* Refactor logging in manager.py to always print a prefix and pass the metadata.
* Make executionStatus on AgentNodeExecution prisma enum. And add executionStatus on AgentGraphExecution.
* Use executionStatus from AgentGraphExecution to improve waiting logic on test_manager.py.
2024-09-14 23:47:28 +07:00
Nicholas Tindle
5f83e354b9
Merge branch 'master' into ntindle/samples 2024-09-13 23:35:34 -05:00
Nicholas Tindle
70ebf4d58b
Update test_manager.py 2024-09-13 22:31:33 -05:00
Nicholas Tindle
6d0d264d99
feat(server): set timeout to 44 second 2024-09-13 18:09:16 -05:00
Zamil Majdy
f32244a112
fix(rnd): Fix broken save feature on Agent Builder (#8052) 2024-09-13 18:04:51 -05:00
Aarushi
9395706841
fix(rnd,market): Fix docker issues with market, and DB connection (#8050)
fix docker issues with market, and DB connection
2024-09-13 16:15:06 +01:00
Nicholas Tindle
8e24b546a3
Merge branch 'master' into ntindle/samples 2024-09-12 23:57:23 -05:00
Nicholas Tindle
d4838cdc45
Update test_manager.py 2024-09-12 23:51:01 -05:00
Nicholas Tindle
acaca35498
Update test_manager.py 2024-09-12 23:43:58 -05:00
Nicholas Tindle
9ee0825f21
Update test_manager.py 2024-09-12 23:36:06 -05:00
Nicholas Tindle
5fde0f2c67
lets try 34 secondsd 2024-09-12 23:29:13 -05:00
Nicholas Tindle
e3407fdfb4
Update test_manager.py 2024-09-12 23:02:08 -05:00
Nicholas Tindle
b98e62cdef
Update test_manager.py 2024-09-12 22:54:07 -05:00
Nicholas Tindle
4d82f78f04
Update test_manager.py 2024-09-12 22:47:36 -05:00
Nicholas Tindle
c5d2586f6c
Update test_manager.py 2024-09-12 22:34:56 -05:00
SwiftyOS
a98677b79d Revert "updated lock file"
This reverts commit 056eb46c0f.
2024-09-12 17:59:39 +02:00
Nicholas Tindle
589c8d94ec
feat: warning 2024-09-12 10:59:33 -05:00
SwiftyOS
056eb46c0f updated lock file 2024-09-12 16:18:13 +02:00
Nicholas Tindle
136d258a46
Merge branch 'master' into ntindle/samples 2024-09-12 07:02:42 -05:00
Swifty
6fde030c37
feat(rnd): Reduce container size remove dep with forge and autogpt (#8040)
* Remove forge and autogpt

* update lock files

* Update build process to reduce image size

* Reduced built image size

* fixed docker compose watch

* Updated logging

* updated env.example

* formatting

* linting issue

* linting not working in github actions..

* trying to get around github action linting issue

* updated version

* sleep for prisma issues

* add exp backoff on connection issues

* updated config based on review comments

* Sorting alphabetical

* updated default config

* updated depends checks

* fixed missing prisma binaries

* remove dead layer

* remove try

* remove dead layer
2024-09-12 13:03:37 +02:00
Aarushi
bf1e01d423
tweak(rnd) Add prefix in logs (#8001)
* add prefix

* fix typos

* fix conflicts
2024-09-12 11:48:47 +01:00
Zamil Majdy
52c731abd6
fix(rnd): Fix decorator function type hint (#8043) 2024-09-12 05:35:33 +07:00
Aarushi
c8fbce643e
fix(rnd): Add connection timeout (#8041)
add connection timeout
2024-09-11 18:32:07 +01:00
Swifty
6c001bd595
Create Input Node Custom UI Node (#8016) 2024-09-11 14:14:03 +02:00
Aarushi
f5b89672f8
feat(rnd): Add k8s default health check (#8037)
add k8s default health check
2024-09-11 12:30:34 +01:00
Aarushi
76480ffa03
fix(rnd): Update port in market (#8036)
update port
2024-09-11 12:19:11 +01:00
Aarushi
ab60a57379
tweak(rnd): Ignore .env in market (#8035)
ignore .env
2024-09-11 11:01:34 +01:00
Aarushi
1d9b01fc77
tweak(rnd): Use docker compose not docker-compose (#8034)
* use docker compose not docker-compose

* linting
2024-09-11 10:20:31 +01:00
Swifty
e81d9f9f0b
docker nits (#8033) 2024-09-11 10:31:12 +02:00
Bentlybro
0d5d0270ea Merge branch 'master' of https://github.com/Significant-Gravitas/AutoGPT 2024-09-10 18:24:53 +01:00
SwiftyOS
bd25f9223c expose schedular port and fix marketplace port 2024-09-10 17:09:39 +02:00
SwiftyOS
07305b55ff fix(rnd) use migrate deploy 2024-09-10 16:18:42 +02:00