Commit 512975e
committed
refactor(providers): consume @agentic-kit/protocol kernel
Point the openai, anthropic, and ollama adapters at @agentic-kit/protocol
instead of re-declaring the kernel locally, removing ~900 lines of
byte-identical and drifting copies. Each adapter now depends only on the
zero-dep kernel, so it stays independently installable, and all three
share the canonical Context.tools, ToolCallContent.rawArguments/decision,
and full StreamOptions.1 parent 97076e6 commit 512975e
9 files changed
Lines changed: 68 additions & 972 deletions
File tree
- packages
- anthropic
- __tests__
- src
- ollama
- __tests__
- src
- openai
- __tests__
- src
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
39 | 42 | | |
40 | 43 | | |
0 commit comments