Commit bbc88bb
feat: enable E2E testing with LLM Katan - 00-client-request-test (#290)
* feat: enable E2E testing with LLM Katan and fix configuration
- Remove Ollama dependencies from E2E config as requested
- Update config.e2e.yaml to use only LLM Katan models (Qwen/Qwen2-0.5B-Instruct, TinyLlama/TinyLlama-1.1B-Chat-v1.0)
- Fix bash 3.2 compatibility in start-llm-katan.sh (replace associative arrays)
- Add required use_reasoning fields to all model entries for validation
- Fix zero scores in model configurations (0.0 → 0.1)
Testing Status:
- ✅ Router: Successfully starts with E2E config (ExtProc on :50051, API on :8080)
- ✅ LLM Katan: Running on ports 8000/8001 with correct model mapping
- ✅ Envoy: Running on port 8801
- ✅ Test: 00-client-request-test.py passes with 200 OK responses
- ✅ Pipeline: Full end-to-end flow working (Client → Envoy → ExtProc → LLM Katan)
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>
Signed-off-by: Yossi Ovadia <[email protected]>
* fix: apply pre-commit formatting fixes
Apply black and isort formatting to LLM Katan Python files
as required by pre-commit hooks.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>
Signed-off-by: Yossi Ovadia <[email protected]>
* refactor: simplify model names to Model-A and Model-B for E2E testing
- Update LLM Katan configuration to use simplified model names
- Simplify 00-client-request-test.py to use Model-A as default
- Update documentation to reflect math → Model-B, creative → Model-A routing
- Improve test readability and maintainability
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>
Signed-off-by: Yossi Ovadia <[email protected]>
* fix: apply pre-commit formatting fixes
- Fix markdown linting issues in CLAUDE.md files
- Apply black formatting to Python files
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>
Signed-off-by: Yossi Ovadia <[email protected]>
---------
Signed-off-by: Yossi Ovadia <[email protected]>
Co-authored-by: Claude <[email protected]>1 parent 197c9c9 commit bbc88bb
File tree
7 files changed
+135
-141
lines changed- config
- e2e-tests
- llm-katan/llm_katan
7 files changed
+135
-141
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | 42 | | |
65 | 43 | | |
66 | 44 | | |
67 | 45 | | |
68 | | - | |
| 46 | + | |
69 | 47 | | |
70 | 48 | | |
71 | 49 | | |
72 | 50 | | |
73 | 51 | | |
74 | 52 | | |
75 | | - | |
| 53 | + | |
76 | 54 | | |
77 | 55 | | |
78 | 56 | | |
79 | 57 | | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | 58 | | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
| 59 | + | |
| 60 | + | |
131 | 61 | | |
132 | 62 | | |
133 | 63 | | |
134 | 64 | | |
135 | 65 | | |
136 | | - | |
| 66 | + | |
| 67 | + | |
137 | 68 | | |
138 | 69 | | |
139 | 70 | | |
| |||
159 | 90 | | |
160 | 91 | | |
161 | 92 | | |
162 | | - | |
| 93 | + | |
163 | 94 | | |
164 | | - | |
| 95 | + | |
| 96 | + | |
165 | 97 | | |
166 | | - | |
| 98 | + | |
| 99 | + | |
167 | 100 | | |
| 101 | + | |
168 | 102 | | |
169 | 103 | | |
170 | 104 | | |
171 | 105 | | |
172 | | - | |
| 106 | + | |
173 | 107 | | |
174 | | - | |
| 108 | + | |
| 109 | + | |
175 | 110 | | |
176 | | - | |
| 111 | + | |
| 112 | + | |
177 | 113 | | |
| 114 | + | |
178 | 115 | | |
179 | 116 | | |
180 | 117 | | |
181 | 118 | | |
182 | | - | |
| 119 | + | |
183 | 120 | | |
184 | | - | |
| 121 | + | |
| 122 | + | |
185 | 123 | | |
186 | | - | |
| 124 | + | |
| 125 | + | |
187 | 126 | | |
| 127 | + | |
188 | 128 | | |
189 | 129 | | |
190 | 130 | | |
191 | 131 | | |
192 | | - | |
| 132 | + | |
193 | 133 | | |
194 | | - | |
| 134 | + | |
| 135 | + | |
195 | 136 | | |
196 | | - | |
| 137 | + | |
| 138 | + | |
197 | 139 | | |
| 140 | + | |
198 | 141 | | |
199 | 142 | | |
200 | 143 | | |
201 | 144 | | |
202 | 145 | | |
203 | | - | |
| 146 | + | |
204 | 147 | | |
205 | | - | |
| 148 | + | |
| 149 | + | |
206 | 150 | | |
207 | | - | |
| 151 | + | |
| 152 | + | |
208 | 153 | | |
| 154 | + | |
209 | 155 | | |
210 | 156 | | |
211 | 157 | | |
212 | 158 | | |
213 | | - | |
| 159 | + | |
214 | 160 | | |
215 | | - | |
| 161 | + | |
| 162 | + | |
216 | 163 | | |
217 | | - | |
| 164 | + | |
| 165 | + | |
218 | 166 | | |
| 167 | + | |
219 | 168 | | |
220 | 169 | | |
221 | 170 | | |
222 | 171 | | |
223 | | - | |
| 172 | + | |
224 | 173 | | |
225 | | - | |
| 174 | + | |
| 175 | + | |
226 | 176 | | |
227 | | - | |
| 177 | + | |
| 178 | + | |
228 | 179 | | |
| 180 | + | |
229 | 181 | | |
230 | 182 | | |
231 | 183 | | |
232 | 184 | | |
233 | | - | |
| 185 | + | |
234 | 186 | | |
235 | | - | |
| 187 | + | |
| 188 | + | |
236 | 189 | | |
237 | | - | |
| 190 | + | |
| 191 | + | |
238 | 192 | | |
| 193 | + | |
239 | 194 | | |
240 | 195 | | |
241 | 196 | | |
242 | 197 | | |
243 | | - | |
| 198 | + | |
244 | 199 | | |
245 | | - | |
| 200 | + | |
| 201 | + | |
246 | 202 | | |
247 | | - | |
248 | | - | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
249 | 207 | | |
250 | 208 | | |
251 | 209 | | |
252 | 210 | | |
253 | 211 | | |
254 | | - | |
| 212 | + | |
255 | 213 | | |
256 | | - | |
| 214 | + | |
| 215 | + | |
257 | 216 | | |
258 | | - | |
| 217 | + | |
| 218 | + | |
259 | 219 | | |
260 | | - | |
| 220 | + | |
| 221 | + | |
261 | 222 | | |
| 223 | + | |
262 | 224 | | |
263 | 225 | | |
264 | 226 | | |
265 | 227 | | |
266 | | - | |
| 228 | + | |
267 | 229 | | |
268 | | - | |
| 230 | + | |
| 231 | + | |
269 | 232 | | |
270 | | - | |
| 233 | + | |
| 234 | + | |
271 | 235 | | |
| 236 | + | |
272 | 237 | | |
273 | 238 | | |
274 | 239 | | |
275 | 240 | | |
276 | | - | |
| 241 | + | |
277 | 242 | | |
278 | | - | |
| 243 | + | |
| 244 | + | |
279 | 245 | | |
280 | | - | |
281 | | - | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
282 | 250 | | |
283 | 251 | | |
284 | 252 | | |
285 | 253 | | |
286 | | - | |
| 254 | + | |
287 | 255 | | |
288 | | - | |
| 256 | + | |
| 257 | + | |
289 | 258 | | |
290 | | - | |
| 259 | + | |
| 260 | + | |
291 | 261 | | |
| 262 | + | |
292 | 263 | | |
293 | 264 | | |
294 | 265 | | |
295 | 266 | | |
296 | | - | |
| 267 | + | |
297 | 268 | | |
298 | | - | |
| 269 | + | |
| 270 | + | |
299 | 271 | | |
300 | | - | |
| 272 | + | |
| 273 | + | |
301 | 274 | | |
| 275 | + | |
302 | 276 | | |
303 | | - | |
| 277 | + | |
304 | 278 | | |
305 | 279 | | |
306 | 280 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
26 | | - | |
27 | | - | |
| 25 | + | |
28 | 26 | | |
29 | 27 | | |
30 | 28 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
52 | | - | |
| 51 | + | |
| 52 | + | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
12 | 17 | | |
13 | 18 | | |
14 | 19 | | |
| |||
0 commit comments