Commit ba120a8
committed
feat(api): Implement custom provider API integration
- Add CustomHandler for handling custom provider API requests
- Add custom provider types and interfaces in shared/api.ts
- Support streaming and non-streaming responses
- Add token usage tracking and path-based response parsing
- Add custom provider to buildApiHandler factory
- Update API interfaces to support custom provider options1 parent 9d2b0a3 commit ba120a8
3 files changed
+485
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| |||
56 | 57 | | |
57 | 58 | | |
58 | 59 | | |
| 60 | + | |
| 61 | + | |
59 | 62 | | |
60 | 63 | | |
61 | 64 | | |
| |||
0 commit comments