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
2.**Make your changes** following the project structure and coding standards.
161
174
162
175
3.**Build and test:**
176
+
163
177
```bash
164
178
make clean
165
179
make build
166
180
make test
167
181
```
168
182
169
183
4.**Run end-to-end tests:**
184
+
170
185
```bash
171
186
# Start services
172
187
make run-envoy &
@@ -179,6 +194,7 @@ The test suite includes:
179
194
5.**Commit your changes:**
180
195
181
196
Commit your changes with a clear message, making sure to **sign off** on your work using the `-s` flag. This is required by the project's **Developer Certificate of Origin (DCO)**.
197
+
182
198
```bash
183
199
git add .
184
200
git commit -s -m "feat: add your feature description"
@@ -197,6 +213,7 @@ The test suite includes:
197
213
Before submitting a PR, please run the pre-commit hooks to ensure code quality and consistency. **These checks are mandatory** and will be automatically run on every commit once installed.
198
214
199
215
**Step 1: Install pre-commit tool**
216
+
200
217
```bash
201
218
# Using pip (recommended)
202
219
pip install pre-commit
@@ -209,6 +226,7 @@ brew install pre-commit
209
226
```
210
227
211
228
**Step 2: Install pre-commit hooks for this repository**
229
+
212
230
```bash
213
231
# Install pre-commit hooks
214
232
pre-commit install
@@ -218,6 +236,7 @@ pre-commit run --all-files
218
236
```
219
237
220
238
### Go Code
239
+
221
240
- Follow standard Go formatting (`gofmt`)
222
241
- Use meaningful variable and function names
223
242
- Add comments for exported functions and types
@@ -228,19 +247,22 @@ pre-commit run --all-files
228
247
- The CI will automatically check that `go.mod` and `go.sum` files are tidy using `make check-go-mod-tidy`
-**[System Architecture](https://vllm-semantic-router.com/docs/architecture/system-architecture/)** - Technical deep dive
69
71
-**[Model Training](https://vllm-semantic-router.com/docs/training/training-overview/)** - How classification models work
@@ -90,4 +92,4 @@ If you find Semantic Router helpful in your research or projects, please conside
90
92
91
93
We opened the project at Aug 31, 2025. We love open source and collaboration ❤️
92
94
93
-
[](https://www.star-history.com/#vllm-project/semantic-router&Date)
95
+
[](https://www.star-history.com/#vllm-project/semantic-router&Date)
0 commit comments