Commit 4c5f872
Kilo Code
test(api): add version header to API request tests
Adds a test case to verify that the `X-KiloCode-Version` header is included in default headers for OpenAI and Requesty API calls. This ensures the version header is correctly passed in API requests.1 parent 90eb044 commit 4c5f872
File tree
3 files changed
+3
-1
lines changed- src/api/providers
- __tests__
3 files changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
| 107 | + | |
107 | 108 | | |
108 | 109 | | |
109 | 110 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| 50 | + | |
50 | 51 | | |
51 | 52 | | |
52 | 53 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
0 commit comments