Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2488 commits
Select commit Hold shift + click to select a range
6766692
Update README.md remove demo link
mmabrouk Nov 2, 2023
e13aca4
aa
mmabrouk Nov 2, 2023
cdf7a30
draft
mmabrouk Nov 2, 2023
47f64b0
Merge pull request #861 from Agenta-AI/ditto-docs
mmabrouk Nov 2, 2023
f212d57
Merge branch 'Agenta-AI:main' into cypress-test/abTesting-evaluation
bekossy Nov 3, 2023
bd31b1d
added sentry package
mmabrouk Nov 3, 2023
20581d7
Merge pull request #862 from Agenta-AI/sent
mmabrouk Nov 3, 2023
e26e2cf
fix: select variants and testset
bekossy Nov 3, 2023
bba4d3d
improve test
bekossy Nov 3, 2023
bda1a8a
added sentry for cloud
mmabrouk Nov 3, 2023
b55a81b
sentry
mmabrouk Nov 3, 2023
105f5c9
remove save_object_to_db
devgenix Nov 3, 2023
1485bb6
refactored get_user, added helper function to get by email & id
devgenix Nov 3, 2023
a1f81ba
format black
devgenix Nov 3, 2023
5d50e63
hot fix docs
mmabrouk Nov 3, 2023
bba52d2
fixed issue + updated api
mmabrouk Nov 3, 2023
cd5d728
Merge pull request #865 from Agenta-AI/doc_improve2
mmabrouk Nov 3, 2023
b8c0cb1
Merge pull request #864 from devgenix/oss-organization_refactor
mmabrouk Nov 3, 2023
6431c9d
Update - added step to restart backend to fetch templates and to know…
aybruhm Nov 4, 2023
aa95d6d
Update - replace agenta-backend-1 to agenta_backend_1
aybruhm Nov 4, 2023
0ac85c7
feat: integrate intercom
bekossy Nov 4, 2023
c457b1a
improve test descriptions
bekossy Nov 4, 2023
158d95f
fix build issues
bekossy Nov 5, 2023
287fc11
minor changes
bekossy Nov 5, 2023
d6c1fc6
build fix
bekossy Nov 5, 2023
78ab950
minor modification
bekossy Nov 5, 2023
aaa30aa
Merge pull request #866 from bekossy/Integrate-Intercom-with-agenta-c…
mmabrouk Nov 5, 2023
5584686
minor fix
bekossy Nov 5, 2023
96216a4
Merge pull request #867 from bekossy/intercom-fix
mmabrouk Nov 5, 2023
0905892
fix env vars
mmabrouk Nov 5, 2023
e549528
Merge pull request #868 from Agenta-AI/posthog_intercom_env_vars_fix
mmabrouk Nov 5, 2023
4b4944e
Merge branch 'Agenta-AI:main' into cypress-test/abTesting-evaluation
bekossy Nov 6, 2023
70c7bd1
Feat - created messages sdk param type
aybruhm Nov 7, 2023
ca3ddd9
Update - import messages param to agenta/ and agenta/sdk/ init module(s)
aybruhm Nov 7, 2023
a85a918
Update - added logic to override message param schema
aybruhm Nov 7, 2023
71ce8a1
:art: Format - ran black
aybruhm Nov 7, 2023
e8b8e18
added ChatInputs component
MohammedMaaz Nov 8, 2023
f498485
moved @types/uuid from devDependencies to dependencies
MohammedMaaz Nov 8, 2023
e7a2283
Refactor - renamed MessagesParam to MessagesInput type to pydantic
aybruhm Nov 8, 2023
9129128
Refactor - renamed MessagesParam to MessagesInput
aybruhm Nov 8, 2023
c8bfb7b
Merge pull request #875 from bekossy/cypress-test/abTesting-evaluation
aakrem Nov 8, 2023
261ff8d
Update - modified override_schema method for MessagesInput
aybruhm Nov 8, 2023
ec22aa5
Update - set default values for MessagesInput data type
aybruhm Nov 8, 2023
741a292
:art: Format - ran black
aybruhm Nov 8, 2023
71a3e0a
Feat - created startup feature ideas experimental llm application
aybruhm Nov 8, 2023
035c8dc
Update - redesigned MessagesInput sdk
aybruhm Nov 8, 2023
09c2d0d
Update - dynamically populate default property for messages input sdk…
aybruhm Nov 8, 2023
2714e79
Update - modified experimental example application for chat sdk feature
aybruhm Nov 8, 2023
bddb8fe
:art: Format - ran black
aybruhm Nov 8, 2023
f97fd06
add health endpoint for backend
aakrem Nov 9, 2023
47c335b
fix
aakrem Nov 9, 2023
3616a51
format
aakrem Nov 9, 2023
98b48ee
Merge pull request #880 from Agenta-AI/health-check
mmabrouk Nov 9, 2023
eec817d
Update - modified frontend ci workflow and cypress config
aybruhm Nov 9, 2023
e247da4
imgrate babyname
mmabrouk Nov 10, 2023
dc17019
migrate json
mmabrouk Nov 10, 2023
775953e
migration
mmabrouk Nov 10, 2023
cdaf30f
updated the build behavior to always pull
mmabrouk Nov 10, 2023
1094c25
Merge pull request #884 from Agenta-AI/openai_migration
mmabrouk Nov 10, 2023
f54c379
removed self because unavailable in python < 3.11
mmabrouk Nov 10, 2023
a28ac9a
openai 1.0 compatible
mmabrouk Nov 10, 2023
6f1a5c8
format
mmabrouk Nov 10, 2023
2a846a1
format
mmabrouk Nov 10, 2023
78882dc
Merge pull request #876 from aybruhm/gh/sdk-message-data-type
mmabrouk Nov 10, 2023
8d109d7
cleanup
mmabrouk Nov 10, 2023
b544089
Merge pull request #886 from Agenta-AI/cleanup_after_serve
mmabrouk Nov 10, 2023
cabb557
adding tuto deploy mistral model
SamMethnani Nov 10, 2023
330091a
minor fix
bekossy Nov 11, 2023
b6da8d8
revert changes
bekossy Nov 12, 2023
aedc4e7
import resources using docker client only for the right environments
aakrem Nov 12, 2023
c4e8bc9
format
aakrem Nov 12, 2023
a1941f9
improve imports
aakrem Nov 12, 2023
bbf769e
format
aakrem Nov 12, 2023
cd96234
bump
mmabrouk Nov 12, 2023
e7ffa20
Merge pull request #889 from Agenta-AI/bump_
mmabrouk Nov 12, 2023
0fe48b3
Merge pull request #888 from Agenta-AI/ee-integration
aakrem Nov 12, 2023
5d308e3
update useEffect dependency array
bekossy Nov 13, 2023
25e0492
modifies timeouts
bekossy Nov 13, 2023
999d32d
cypress fix
bekossy Nov 13, 2023
0972969
minor fix
bekossy Nov 13, 2023
b29f8ef
test: no variants
bekossy Nov 13, 2023
bca5099
removes before all hook
bekossy Nov 13, 2023
c25a1a0
revert changes
bekossy Nov 13, 2023
6e1d566
minor fix
bekossy Nov 13, 2023
38116ae
minor changes in playground test
bekossy Nov 13, 2023
053fa1f
removes smoke-test
bekossy Nov 13, 2023
75bc297
bug fix
bekossy Nov 13, 2023
a36dc67
minor fix
bekossy Nov 13, 2023
10235fa
hot fix
bekossy Nov 13, 2023
a340c00
minor fix
bekossy Nov 13, 2023
d3c8250
hot fix
bekossy Nov 13, 2023
fe3c744
adds smoke test
bekossy Nov 13, 2023
8d58e26
chore: Use GitHub secret for OpenAI API key in Cypress test
bekossy Nov 13, 2023
15eb2c5
quick test
bekossy Nov 13, 2023
7230680
feat: run all tests
bekossy Nov 13, 2023
556447f
cleanup
bekossy Nov 13, 2023
00c0857
fix: api key test
bekossy Nov 13, 2023
98eeea8
set docker_id as optional
devgenix Nov 13, 2023
dd873f6
Refactor sync - renamed files from ee to cloud
aybruhm Nov 13, 2023
f6e1a06
Merge branch 'main' into gh/sync-ee-renaming-refactoring
aybruhm Nov 13, 2023
f601ef7
chore: Update GitHub Actions workflow
bekossy Nov 13, 2023
ee45608
chore: modifies yaml file
bekossy Nov 13, 2023
14aeb18
debugging in Cypress Test
bekossy Nov 13, 2023
a441165
revert changes
bekossy Nov 13, 2023
f6f1c60
cleanup
bekossy Nov 13, 2023
84bffd3
revert changes in frontend.yml file
bekossy Nov 13, 2023
a2e5345
chore: set env type in workflow
bekossy Nov 14, 2023
e27c5f1
Merge branch 'main' into pr/818
bekossy Nov 14, 2023
f283420
revert changes
bekossy Nov 14, 2023
c9aa710
minor changes
bekossy Nov 14, 2023
72e1ae2
test fix
bekossy Nov 14, 2023
e79d357
draft commit
devgenix Nov 14, 2023
3840976
fix: conditional to create app variant
bekossy Nov 14, 2023
48647a7
reset timeout values to default and removes unused imports
bekossy Nov 14, 2023
2256a67
using docker that does not use .env file for web
mmabrouk Nov 14, 2023
964c1df
updated docker compose
mmabrouk Nov 14, 2023
fabdad2
Merge pull request #895 from Agenta-AI/installation_agenta
mmabrouk Nov 14, 2023
2d29542
enable use of template zip uri
devgenix Nov 14, 2023
be8229a
self host docs
mmabrouk Nov 14, 2023
0e44265
up
mmabrouk Nov 14, 2023
2303415
Merge pull request #896 from Agenta-AI/installation_agenta
mmabrouk Nov 14, 2023
015c680
run all tests
bekossy Nov 14, 2023
187aeaa
Update - modified import path for container_manager service
aybruhm Nov 14, 2023
e7c4b18
Update host-remotely.mdx
mmabrouk Nov 14, 2023
9930be0
Merge pull request #897 from Agenta-AI/mmabrouk-patch-3
mmabrouk Nov 14, 2023
1c7b206
Update host-remotely.mdx
mmabrouk Nov 14, 2023
d789259
Merge pull request #898 from Agenta-AI/mmabrouk-patch-3
mmabrouk Nov 14, 2023
4c928b2
error fix
bekossy Nov 14, 2023
c1c8264
Update host-locally.mdx
mmabrouk Nov 14, 2023
1eb67f7
extend TemplateDB and ImageDB
devgenix Nov 14, 2023
2a3630d
enable use of s3 zip as template
devgenix Nov 14, 2023
dabf762
fix: workflow api key
bekossy Nov 14, 2023
46fa87a
hot fix
bekossy Nov 14, 2023
56953a8
temp
MohammedMaaz Nov 15, 2023
05d71e6
Merge branch 'main' of https://github.com/Agenta-AI/agenta into featu…
MohammedMaaz Nov 15, 2023
c900a69
define add_zip_template & extend create_image to support zip
devgenix Nov 15, 2023
6b4d1e7
set template fields as optional
devgenix Nov 15, 2023
77cfa7e
require template name to be unique
devgenix Nov 15, 2023
e48d2b6
format
devgenix Nov 15, 2023
9518ae8
define get_image_by_id
devgenix Nov 15, 2023
1d8f7a6
delete existing template if found
devgenix Nov 15, 2023
7851e50
format
devgenix Nov 15, 2023
81af30e
correct type
devgenix Nov 15, 2023
558dc8b
revert changes in yaml file
bekossy Nov 15, 2023
cc4b35c
compactibility with cli
devgenix Nov 15, 2023
651a0a8
format
devgenix Nov 15, 2023
a4fbdca
typo: ab testing description
bekossy Nov 15, 2023
41ac785
Merge branch 'main' into pr/818
bekossy Nov 15, 2023
72a26e7
set env variable
bekossy Nov 15, 2023
f6861d8
improve cli compactibility by using image type not env
devgenix Nov 15, 2023
89e41b8
resolve merge conflict
devgenix Nov 15, 2023
cdb55c6
modifies yaml files
bekossy Nov 15, 2023
4753ffa
add image type
devgenix Nov 15, 2023
812127c
format
devgenix Nov 15, 2023
235f965
fix import
devgenix Nov 15, 2023
ca26dca
removes comment
bekossy Nov 15, 2023
4af5384
rename to docker_id_or_template_url
devgenix Nov 15, 2023
76dc2e8
fix template override
devgenix Nov 15, 2023
e395a4a
Merge pull request #893 from Agenta-AI/gh/sync-ee-renaming-refactoring
aakrem Nov 15, 2023
ba0cef4
Merge branch 'main' into cloud_lambda
devgenix Nov 15, 2023
4ef8c86
test: api key
bekossy Nov 15, 2023
fd988a6
removes env
bekossy Nov 15, 2023
2835a1d
Update frontend-tests.yml
mmabrouk Nov 15, 2023
0b80975
Update frontend-tests.yml
mmabrouk Nov 15, 2023
b9f930d
update
mmabrouk Nov 15, 2023
882b77a
Merge pull request #887 from Agenta-AI/tutorial-mistral-model
mmabrouk Nov 15, 2023
98fb1ed
Update frontend-tests.yml
mmabrouk Nov 15, 2023
52f9bae
fix
mmabrouk Nov 15, 2023
e4b70ca
Merge branch 'main' of https://github.com/Agenta-AI/agenta into featu…
MohammedMaaz Nov 15, 2023
8e81bca
format
aakrem Nov 16, 2023
dab9289
Update - resolve ee to cloud
aybruhm Nov 16, 2023
1e2cd5a
Update - make use of ee imports if feature_flag is ee
aybruhm Nov 16, 2023
54e99c1
Merge pull request #902 from aybruhm/gh/fix-ee-to-cloud
aakrem Nov 16, 2023
face29d
modifies timeout
bekossy Nov 16, 2023
a9ed6ac
bug fix
bekossy Nov 16, 2023
4b7d668
removes antd message
bekossy Nov 16, 2023
709521d
chat variant implemented for playground
MohammedMaaz Nov 16, 2023
b7d7a23
format
devgenix Nov 16, 2023
0a28a47
prettier
MohammedMaaz Nov 16, 2023
73e214d
Merge branch 'Agenta-AI:main' into cloud_lambda
devgenix Nov 16, 2023
13beacb
modifies code evaluation test
bekossy Nov 16, 2023
77ca8e1
test fix
bekossy Nov 16, 2023
1ec636a
removes comments
bekossy Nov 16, 2023
699f313
docs: update README.md [skip ci]
allcontributors[bot] Nov 16, 2023
16222d5
docs: update .all-contributorsrc [skip ci]
allcontributors[bot] Nov 16, 2023
6d12827
Merge pull request #903 from Agenta-AI/all-contributors/add-Dhoni77
mmabrouk Nov 16, 2023
3e08cb3
regex evaluation test fix
bekossy Nov 16, 2023
de065e8
correct cloud & ee import
devgenix Nov 16, 2023
3ddd97a
Merge pull request #901 from Agenta-AI/cypress
mmabrouk Nov 16, 2023
dc95c10
Refactor - remove 'demo' ff from codebase
aybruhm Nov 17, 2023
3afa206
Merge branch 'Agenta-AI:main' into issue-#881/saving-in-playground-do…
bekossy Nov 17, 2023
b1b30a0
Update - fix race condition in update_variant_parameterss db manager
aybruhm Nov 17, 2023
2c0c939
Update - added await keyword to validate_image deployment manager
aybruhm Nov 17, 2023
6210874
Update - set block period to 0.3 seconds
aybruhm Nov 17, 2023
9e89633
Update - make comment in update_variant_parameters db function clear
aybruhm Nov 17, 2023
21db804
Update - remove busy-wait mechanism
aybruhm Nov 17, 2023
edfefcd
Merge pull request #892 from devgenix/cloud_lambda
mmabrouk Nov 17, 2023
c7807bc
Merge branch 'Agenta-AI:main' into issue-#881/saving-in-playground-do…
bekossy Nov 17, 2023
6304f4b
Merge pull request #907 from aybruhm/gh/resolve-race-condition-dbmanager
aybruhm Nov 17, 2023
b1c7629
Merge pull request #909 from Agenta-AI/907/resolve-race-condition-dbm…
mmabrouk Nov 17, 2023
e356875
Merge pull request #905 from aybruhm/gh/remove-demo-ff-from-codebase
aybruhm Nov 17, 2023
094eaa4
Merge pull request #911 from Agenta-AI/899/remove-demo-ff-from-codebase
mmabrouk Nov 17, 2023
976f0a9
Merge pull request #906 from bekossy/issue-#881/saving-in-playground-…
mmabrouk Nov 17, 2023
b0c0583
Update pyproject.toml
mmabrouk Nov 17, 2023
0eac33a
Merge pull request #912 from Agenta-AI/mmabrouk-patch-3
mmabrouk Nov 17, 2023
7380ba0
add missing deployment manager
aakrem Nov 19, 2023
22ad8e4
Merge pull request #913 from Agenta-AI/ee-deployment_manager
aakrem Nov 19, 2023
76c36f3
fix import
aakrem Nov 19, 2023
f67c818
Merge pull request #914 from Agenta-AI/fix-import
aakrem Nov 19, 2023
5b3fb42
Update - resolved ImportError
aybruhm Nov 21, 2023
9f9317b
Update - removed redis_url from config.toml
aybruhm Nov 21, 2023
2b901b1
Update - directly inject redis_url into docker environment
aybruhm Nov 21, 2023
bdbada5
Update - removed redis_url from config module and injected it directl…
aybruhm Nov 21, 2023
c7234eb
Update - removed redis_url from config
aybruhm Nov 21, 2023
bb914fd
Refactor - modified redis_connection to make use of container environ…
aybruhm Nov 21, 2023
26c6c0a
Update - handle explicit error + improve code-quality
aybruhm Nov 21, 2023
6eea40d
modifies input width
bekossy Nov 21, 2023
2f5ae6a
MR feedback
MohammedMaaz Nov 22, 2023
3d4e06f
Merge branch 'feature/870-playground-for-chat-based-apps' of https://…
bekossy Nov 22, 2023
772ea44
Refactor - modified redis_connection doc-strings
aybruhm Nov 22, 2023
75eafa3
:art: Refactor - cleaned up trailing spaces
aybruhm Nov 22, 2023
161a030
Merge pull request #921 from Agenta-AI/gh/move-redis-url-configuration
aakrem Nov 22, 2023
3ac4f00
a/b eval integration with chat apps
MohammedMaaz Nov 23, 2023
2040f6b
Use csv.DictReader to read csv file
seungduk-yanolja Nov 23, 2023
99a6f50
Update - Make tabs in playground draggable
andreiwebdev Nov 23, 2023
9cbcf70
chat: modifies single eval
bekossy Nov 24, 2023
61c2c44
Fix - Playground Tabs laggy movement
andreiwebdev Nov 24, 2023
5e09b4f
add new evaluation type
devgenix Nov 24, 2023
94356c6
accept integer in evaluation score
devgenix Nov 24, 2023
5a764db
Update - added backend_host as param to get_api_key cli helper
aybruhm Nov 24, 2023
2678123
Update - extend initializing app on agenta cloud
aybruhm Nov 24, 2023
3df53d9
Refactor - removed repeated 'deletable' field
aybruhm Nov 24, 2023
0bab861
Fix: disable text selection
andreiwebdev Nov 24, 2023
6e8febd
Update - resolve error creating and starting lambda function
aybruhm Nov 24, 2023
361d02f
:art: Format - ran black
aybruhm Nov 24, 2023
d0861d6
new eval design for card view | bug fixes | save updated chat to eval…
MohammedMaaz Nov 24, 2023
9ec7845
Merge branch 'feature/870-playground-for-chat-based-apps' of https://…
MohammedMaaz Nov 24, 2023
1cc77f2
Update - add 'deletable' field back to ImageDB model
aybruhm Nov 27, 2023
13bd698
Update - remove friction for agenta cloud cli development
aybruhm Nov 27, 2023
efbccf7
Merge pull request #926 from seungduk-yanolja/newline
aakrem Nov 27, 2023
2a2dee6
docs: update README.md [skip ci]
allcontributors[bot] Nov 27, 2023
9f66d7b
docs: update .all-contributorsrc [skip ci]
allcontributors[bot] Nov 27, 2023
6323ed2
Merge pull request #930 from Agenta-AI/all-contributors/add-seungduk-…
aakrem Nov 27, 2023
a298876
Update - added step to repository if ff is cloud
aybruhm Nov 27, 2023
5582eee
format
aakrem Nov 27, 2023
c9ddbff
format
aakrem Nov 27, 2023
3e72d24
Merge pull request #928 from Agenta-AI/gh/bug-issue-885
mmabrouk Nov 27, 2023
873b409
Merge pull request #927 from andreiwebdev/playground-tabs-draggable
aakrem Nov 27, 2023
af58502
single model evaluation completed
MohammedMaaz Nov 27, 2023
9be7753
Merge branch 'main' of https://github.com/Agenta-AI/agenta into featu…
MohammedMaaz Nov 27, 2023
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
  •  
  •  
  •  
186 changes: 185 additions & 1 deletion .all-contributorsrc
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,9 @@
"avatar_url": "https://avatars.githubusercontent.com/u/56418363?v=4",
"profile": "https://github.com/devgenix",
"contributions": [
"code"
"code",
"example",
"doc"
]
},
{
Expand All @@ -143,6 +145,188 @@
"contributions": [
"code"
]
},
{
"login": "RamchandraWarang9822",
"name": "Ramchandra Warang",
"avatar_url": "https://avatars.githubusercontent.com/u/92023869?v=4",
"profile": "https://github.com/RamchandraWarang9822",
"contributions": [
"code",
"bug"
]
},
{
"login": "lazyfuhrer",
"name": "Biswarghya Biswas",
"avatar_url": "https://avatars.githubusercontent.com/u/64888892?v=4",
"profile": "https://github.com/lazyfuhrer",
"contributions": [
"code"
]
},
{
"login": "okieLoki",
"name": "Uddeepta Raaj Kashyap",
"avatar_url": "https://avatars.githubusercontent.com/u/96105929?v=4",
"profile": "https://github.com/okieLoki",
"contributions": [
"code"
]
},
{
"login": "nayeem01",
"name": "Nayeem Abdullah",
"avatar_url": "https://avatars.githubusercontent.com/u/32274108?v=4",
"profile": "http://www.linkedin.com/in/nayeem-abdullah-317098141",
"contributions": [
"code"
]
},
{
"login": "kangsuhyun-yanolja",
"name": "Kang Suhyun",
"avatar_url": "https://avatars.githubusercontent.com/u/124246127?v=4",
"profile": "https://github.com/kangsuhyun-yanolja",
"contributions": [
"code"
]
},
{
"login": "yeokyeong-yanolja",
"name": "Yoon",
"avatar_url": "https://avatars.githubusercontent.com/u/128676129?v=4",
"profile": "https://github.com/yeokyeong-yanolja",
"contributions": [
"code"
]
},
{
"login": "mrkirthi-24",
"name": "Kirthi Bagrecha Jain",
"avatar_url": "https://avatars.githubusercontent.com/u/53830546?v=4",
"profile": "https://mrkirthi24.netlify.app/",
"contributions": [
"code"
]
},
{
"login": "navdeep1840",
"name": "Navdeep",
"avatar_url": "https://avatars.githubusercontent.com/u/80774259?v=4",
"profile": "https://github.com/navdeep1840",
"contributions": [
"code"
]
},
{
"login": "Rhythm-08",
"name": "Rhythm Sharma",
"avatar_url": "https://avatars.githubusercontent.com/u/64489317?v=4",
"profile": "https://www.linkedin.com/in/rhythm-sharma-708a421a8/",
"contributions": [
"code"
]
},
{
"login": "vicradon",
"name": "Osinachi Chukwujama ",
"avatar_url": "https://avatars.githubusercontent.com/u/40396070?v=4",
"profile": "https://osinachi.me",
"contributions": [
"code"
]
},
{
"login": "morsoli",
"name": "莫尔索",
"avatar_url": "https://avatars.githubusercontent.com/u/47264881?v=4",
"profile": "https://liduos.com/",
"contributions": [
"doc"
]
},
{
"login": "dejongbaba",
"name": "Agunbiade Adedeji",
"avatar_url": "https://avatars.githubusercontent.com/u/22600781?v=4",
"profile": "http://luccithedev.com",
"contributions": [
"code"
]
},
{
"login": "techemmy",
"name": "Emmanuel Oloyede",
"avatar_url": "https://avatars.githubusercontent.com/u/43725109?v=4",
"profile": "https://techemmy.github.io/",
"contributions": [
"code",
"doc"
]
},
{
"login": "Dhaneshwarguiyan",
"name": "Dhaneshwarguiyan",
"avatar_url": "https://avatars.githubusercontent.com/u/116065351?v=4",
"profile": "https://github.com/Dhaneshwarguiyan",
"contributions": [
"code"
]
},
{
"login": "PentesterPriyanshu",
"name": "Priyanshu Prajapati",
"avatar_url": "https://avatars.githubusercontent.com/u/98478305?v=4",
"profile": "https://github.com/PentesterPriyanshu",
"contributions": [
"doc"
]
},
{
"login": "VenkataRavitejaGullapudi",
"name": "Raviteja",
"avatar_url": "https://avatars.githubusercontent.com/u/70102577?v=4",
"profile": "https://venkataravitejagullapudi.github.io/",
"contributions": [
"code"
]
},
{
"login": "ArijitCloud",
"name": "Arijit",
"avatar_url": "https://avatars.githubusercontent.com/u/81144422?v=4",
"profile": "https://github.com/ArijitCloud",
"contributions": [
"code"
]
},
{
"login": "Yachika9925",
"name": "Yachika9925",
"avatar_url": "https://avatars.githubusercontent.com/u/147185379?v=4",
"profile": "https://github.com/Yachika9925",
"contributions": [
"doc"
]
},
{
"login": "Dhoni77",
"name": "Aldrin",
"avatar_url": "https://avatars.githubusercontent.com/u/53973174?v=4",
"profile": "https://github.com/Dhoni77",
"contributions": [
"test"
]
},
{
"login": "seungduk-yanolja",
"name": "seungduk.kim.2304",
"avatar_url": "https://avatars.githubusercontent.com/u/115020208?v=4",
"profile": "https://github.com/seungduk-yanolja",
"contributions": [
"code"
]
}
],
"contributorsPerLine": 7,
Expand Down
26 changes: 23 additions & 3 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
title: '[Bug] '
labels: ''
assignees: ''

Expand Down Expand Up @@ -34,5 +34,25 @@ If applicable, add screenshots to help explain your problem.
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]

**Additional context**
Add any other context about the problem here.
**Important Context**
Add context about the problem here.

1. **Network Logs in the Browser:**
- If applicable, Take a screenshot of the network logs or copy and paste any relevant log entries.

2. **Docker Containers Information:**
- If applicable, Provide a screenshot showing the list of running and stopped containers.
- Please provide us the with a screenshot of the logs for the agenta-backend docker container.

3. **Additional Information:**
- Include any additional details, error messages, or observations that may be helpful.

<!-- ### How to Provide Additional Information -->

<!-- To help us investigate and resolve this issue more effectively, please follow this guide to provide additional information; https://docs.agenta.ai/contributing/file-issue -->



Please make sure to provide all the requested information to expedite the debugging process. Thank you for helping us improve our project!

---
30 changes: 30 additions & 0 deletions .github/workflows/backend_test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Execute Backend tests

on: [pull_request]

jobs:
continous_integration:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Start Docker Compose
run: docker-compose -f "docker-compose.test.yml" up -d --build

- name: Install Curl
run: sudo apt install curl -y

- name: Wait for Backend Service
run: |
while true; do
if curl -s http://localhost:8000/openapi.json; then
break
fi
sleep 5
done

- name: Run tests
run: docker exec agenta-backend-test pytest

- name: Stop Docker Compose
run: docker-compose down
50 changes: 50 additions & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: Build and Publish Docker Images

on:
push:
branches:
- main

env:
BACKEND_IMAGE_NAME: agenta-backend
WEB_IMAGE_NAME: agenta-web
IMAGE_OWNER_NAME: agenta-ai
REPOSITORY_USERNAME: ${{ github.actor }}

jobs:
build-and-publish:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up QEMU
uses: docker/setup-qemu-action@v3
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Clear Docker build cache
run: docker builder prune --all --force

- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ env.REPOSITORY_USERNAME }}
password: ${{ secrets.DOCKER_GITHUB_SECRETS }}

- name: Build, tag and push Backend image to Github Container Registry
id: build-backend-image
run: |
cd agenta-backend
docker build -t ghcr.io/${{ env.IMAGE_OWNER_NAME }}/${{ env.BACKEND_IMAGE_NAME }} -f Dockerfile.gh .
docker push ghcr.io/${{ env.IMAGE_OWNER_NAME }}/${{ env.BACKEND_IMAGE_NAME }}

- name: Build, tag and push Web image to Github Container Registry
id: build-web-image
run: |
cd agenta-web
docker build --no-cache -t ghcr.io/${{ env.IMAGE_OWNER_NAME }}/${{ env.WEB_IMAGE_NAME }} -f prod.gh.Dockerfile .
docker push ghcr.io/${{ env.IMAGE_OWNER_NAME }}/${{ env.WEB_IMAGE_NAME }}

58 changes: 58 additions & 0 deletions .github/workflows/frontend-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
name: Execute Frontend tests

on: [pull_request]
env:
OPENAI_API_KEY: ${{ secrets.NEXT_PUBLIC_OPENAI_API_KEY }}

jobs:
cypress:
runs-on: ubuntu-latest

steps:
- name: Check out code
uses: actions/checkout@v4

- name: Set Environment Variables
run: |
echo "NEXT_PUBLIC_OPENAI_API_KEY=${{ secrets.NEXT_PUBLIC_OPENAI_API_KEY }}" >> $GITHUB_ENV

- name: Install Curl & Start Docker Compose
env:
NEXT_PUBLIC_OPENAI_API_KEY: ${{ secrets.NEXT_PUBLIC_OPENAI_API_KEY }}
run: |
sudo apt install curl -y
docker-compose -f "docker-compose.yml" up -d --build

- name: Restart Backend Service To Fetch Template(s)
run: docker container restart agenta_backend_1

- name: Wait for Backend Service
run: curl http://localhost/api/health/

- name: Know the Response of Organization & Container Templates
run: |
curl http://localhost/api/organizations/own/
curl http://localhost/api/containers/templates/

- name: Set Node.js 18
uses: actions/setup-node@v3
with:
node-version: 18

- name: Install Frontend Depedencies
env:
NEXT_PUBLIC_OPENAI_API_KEY: ${{ secrets.NEXT_PUBLIC_OPENAI_API_KEY }}
run: |
cd agenta-web/ && npm install

- name: Run Cypress
env:
NEXT_PUBLIC_OPENAI_API_KEY: ${{ secrets.NEXT_PUBLIC_OPENAI_API_KEY }}
run: cd agenta-web/ && npm run cypress:run

- name: Docker logs
if: always() #
run: docker ps -q | xargs -I {} docker logs {}

- name: Stop Docker Compose
run: docker-compose down
Loading