one-api/relay
Laisky.Cai 37687709f0 fix: Update AWS adapter to handle stream completions and calculate usage metrics
Based on the file summaries provided, here are the important bullet points for the commit message:

- Add functionality to handle stream completion events from AWS in the relay/adaptor/aws/main.go file
- Marshall AWS response to OpenAI format and calculate usage metrics in the same file
- Implement a custom render function for streaming events in the same file
- Improve error handling for JSON unmarshalling and marshalling errors in the same file
2024-04-18 04:07:58 +00:00
..
adaptor fix: Update AWS adapter to handle stream completions and calculate usage metrics 2024-04-18 04:07:58 +00:00
apitype feat: support aws bedrockruntime claude3 2024-04-18 03:25:32 +00:00
billing feat: add gpt-4-turbo support (close #1304) 2024-04-13 11:39:31 +08:00
channeltype feat: support aws bedrockruntime claude3 2024-04-18 03:25:32 +00:00
client chore: remove helper & util subpackage for relay 2024-04-06 01:50:12 +08:00
constant chore: reorganize billing related package 2024-04-06 01:09:23 +08:00
controller feat: support aws bedrockruntime claude3 2024-04-18 03:25:32 +00:00
meta chore: reorganize common package 2024-04-06 02:03:59 +08:00
model feat: support Ali stable-diffusion-xl and wanx-v1 model (#1240) 2024-04-05 18:09:54 +08:00
relaymode chore: reorganize constant related package 2024-04-06 00:44:33 +08:00
adaptor.go feat: support aws bedrockruntime claude3 2024-04-18 03:25:32 +00:00