File tree Expand file tree Collapse file tree 1 file changed +18
-2
lines changed Expand file tree Collapse file tree 1 file changed +18
-2
lines changed Original file line number Diff line number Diff line change 1
- ## Development
1
+ # Development
2
2
3
- Below are the details to set up a development environment:
3
+ Below are the details to set up a development environment and run tests.
4
4
5
+ ## Install
5
6
1 . Clone the repository:
6
7
``` bash
7
8
git clone https://github.com/googleapis/genai-toolbox.git
8
9
```
10
+ 1. Navigate to the SDK directory:
11
+ ` ` ` bash
12
+ cd genai-toolbox/sdks/langchain
13
+ ` ` `
14
+ 1. Install the package in editable mode, so changes are reflected without reinstall:
15
+ ` ` ` bash
16
+ pip install -e .
17
+ ` ` `
18
+ 1. Make code changes and contribute to the SDK' s development.
19
+ > [!TIP]
20
+ > Using `-e` option allows you to make changes to the SDK code and have
21
+ > those changes reflected immediately without reinstalling the package.
22
+
23
+ ## Test
9
24
1. Navigate to the SDK directory:
10
25
```bash
11
26
cd genai-toolbox/sdks/langchain
@@ -15,6 +30,7 @@ Below are the details to set up a development environment:
15
30
pip install -e .[test]
16
31
```
17
32
1. Run tests and/or contribute to the SDK' s development.
33
+
18
34
` ` ` bash
19
35
pytest
20
36
` ` `
You can’t perform that action at this time.
0 commit comments