You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+37-47
Original file line number
Diff line number
Diff line change
@@ -2,17 +2,17 @@
2
2
3
3
Thank you for your interest in contributing to OpenAGI! We appreciate your efforts in helping us make human-like agents accessible to everyone. This guide outlines the steps to start contributing effectively.
4
4
5
-
6
5
## Forking the Repository
7
6
To contribute to OpenAGI, you need to fork the repository and clone it locally. Follow these steps:
8
7
9
8
1. Navigate to the [OpenAGI repository](https://github.com/aiplanethub/openagi.git).
10
9
2. Click the **Fork** button in the top-right corner to create a personal copy of the repository.
Once you have cloned the repository, set up a development environment to work on the code. Follow the instructions below to create and activate a virtual environment.
@@ -21,47 +21,35 @@ Once you have cloned the repository, set up a development environment to work on
21
21
22
22
1. Setup a virtual environment.
23
23
24
-
```bash
25
-
# For Mac users
26
-
python3 -m venv venv
27
-
source venv/bin/activate
24
+
```bash
25
+
# For Mac users
26
+
python3 -m venv venv
27
+
source venv/bin/activate
28
28
29
-
# For Windows users
30
-
python -m venv venv
31
-
venv/scripts/activate
32
-
33
-
# to create virtual env using particular python version (in Windows)
34
-
py -3.11 -m venv venv
35
-
```
29
+
# For Windows users
30
+
python -m venv venv
31
+
venv/scripts/activate
32
+
```
36
33
37
34
2. Install the openagi
38
35
39
-
```bash
40
-
pip install openagi
41
-
```
42
-
43
-
## To setup your credentials
44
-
45
-
Follow this quick [installation guide](https://openagi.aiplanet.com/getting-started/installation) to complete the setup.
46
-
47
-
## Documentation
48
-
49
-
For more queries find documentation for OpenAGI at [openagi.aiplanet.com](https://openagi.aiplanet.com/)
Before making any changes to the codebase, follow these steps:
58
47
59
-
# Ensure you are on the correct branch:
60
-
git checkout main
61
-
62
-
# Create a new branch for your changes:
63
-
git checkout -b feature-branch-name
64
-
48
+
```bash
49
+
git checkout main
50
+
git checkout -b feature-branch-name
51
+
```
52
+
65
53
Make your changes in the relevant directories (e.g., src, docs, cookbook, etc.). Be sure to follow the coding guidelines and maintain consistency with the project’s code style.
66
54
67
55
## Testing Your Changes
@@ -73,15 +61,17 @@ Before submitting your changes, it is crucial to ensure that your modifications
73
61
## Submitting Your Pull Request
74
62
Once you have tested your changes and everything is working correctly, submit your contribution by following these steps:
75
63
76
-
# Stage your changes:
77
-
git add .
78
-
79
-
# Commit your changes with a meaningful commit message:
80
-
git commit -m "Brief description of the changes made"
81
-
82
-
# Push your changes to your forked repository:
83
-
git push origin feature-branch-name
84
-
64
+
```
65
+
# Stage your changes:
66
+
git add .
67
+
68
+
# Commit your changes with a meaningful commit message:
69
+
git commit -m "Brief description of the changes made"
0 commit comments