Commit bf3d97a
committed
fix(ClineProvider): add type-safe handling of API key properties
- Added ApiKeyProperty type to ensure type safety when accessing API key properties
- Added runtime validation to ensure keys exist in apiConfiguration
- Fixed TypeScript error with string indexing of ApiConfiguration
- Ensures all API keys are initialized before buildApiHandler1 parent fa80f4e commit bf3d97a
1 file changed
+14
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1522 | 1522 | | |
1523 | 1523 | | |
1524 | 1524 | | |
| 1525 | + | |
| 1526 | + | |
| 1527 | + | |
| 1528 | + | |
| 1529 | + | |
| 1530 | + | |
| 1531 | + | |
| 1532 | + | |
| 1533 | + | |
| 1534 | + | |
| 1535 | + | |
| 1536 | + | |
| 1537 | + | |
| 1538 | + | |
1525 | 1539 | | |
1526 | 1540 | | |
1527 | 1541 | | |
| |||
0 commit comments