Commit c65d748
authored
Migrate Anthropic client to KoogHttpClient (#1179)
* First step to provide other Http clients
* Rename `type` to avoid serialization issues
Future work:
* Anthropic supports thinking streaming and built-in tool calls
(https://platform.claude.com/docs/en/build-with-claude/streaming), but
we can only add it to assistant message or our tools calls. We have to
support it in future1 parent a5c36d5 commit c65d748
File tree
6 files changed
+197
-175
lines changed- integration-tests/src/jvmTest/kotlin/ai/koog/integration/tests/executor
- prompt/prompt-executor/prompt-executor-clients
- prompt-executor-anthropic-client
- src
- commonMain/kotlin/ai/koog/prompt/executor/clients/anthropic
- models
- commonTest/kotlin/ai/koog/prompt/executor/clients/anthropic
- prompt-executor-bedrock-client/src/jvmMain/kotlin/ai/koog/prompt/executor/clients/bedrock/modelfamilies/anthropic
6 files changed
+197
-175
lines changedLines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
538 | 538 | | |
539 | 539 | | |
540 | 540 | | |
541 | | - | |
| 541 | + | |
| 542 | + | |
542 | 543 | | |
543 | 544 | | |
544 | 545 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
0 commit comments