summaryrefslogtreecommitdiffstats
path: root/src/client/bedrock.rs
AgeCommit message (Collapse)AuthorLines
2024-05-30refactor: rename `SendData` to `CompletionData` (#553)sigoden-11/+15
2024-05-26fix: bedrock issues (#544)rolfwilms-0/+1
* Removed extraneous key [stream] for AWS Bedrock Claude models. * Reduceddefault AWS Bedrock llama-3 max_output_tokens to 2048 to align with API requirements. --------- Co-authored-by: Rolf Wilms <rwilms@csc.com>
2024-05-22feat: allow patching req body with client config (#534)sigoden-5/+5
2024-05-18feat: support function calling (#514)sigoden-15/+20
* feat: support function calling * fix on Windows OS * implement multi-steps function calling * fix on Windows OS * add error for client not support function calling * refactor message data structure and make claude client supporting function calling * support reuse previous call results * improve error handling for function calling * use prefix `may_` as indicator for `execute` type fucntions
2024-05-08refactor: model pass_max_tokens (#493)sigoden-3/+3
2024-05-02chore: fix typos (#476)Tatsuya Kyushima-2/+2
2024-05-01refactore: add models for openai-compatible platforms (#471)sigoden-8/+4
2024-04-30feat: openai-compatible platforms share the same client (#469)sigoden-3/+3
2024-04-30refactor: improve code qualitysigoden-37/+9
2024-04-29refactor: check res status codesigoden-2/+2
2024-04-29refactor: rename some structs (#457)sigoden-11/+11
2024-04-29feat: non-streaming returns completion stats (#456)sigoden-14/+37
2024-04-28chore: fix typosigoden-2/+2
2024-04-28feat: support bedrock client (#450)sigoden-0/+443