one-api/relay
Laisky.Cai 5874035e42 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:00:48 +00:00
..
adaptor fix: Update AWS adapter to handle stream completions and calculate usage metrics 2024-04-18 04:00:48 +00:00
apitype feat: support aws bedrockruntime claude3 2024-04-18 02:52:26 +00:00
billing Merge commit '7bf61f916504097ac23efb765b938d8f94c342ce' 2024-04-17 05:18:58 +00:00
channel/tencent Refactor codebase, introduce relaymode package, update constants and improve consistency 2024-04-06 05:18:04 +00:00
channeltype feat: support aws bedrockruntime claude3 2024-04-18 02:52:26 +00:00
client Refactor codebase, introduce relaymode package, update constants and improve consistency 2024-04-06 05:18:04 +00:00
constant Refactor codebase, introduce relaymode package, update constants and improve consistency 2024-04-06 05:18:04 +00:00
controller feat: support aws bedrockruntime claude3 2024-04-18 02:52:26 +00:00
meta Refactor codebase, introduce relaymode package, update constants and improve consistency 2024-04-06 05:18:04 +00:00
model Refactor codebase, introduce relaymode package, update constants and improve consistency 2024-04-06 05:18:04 +00:00
relaymode Refactor codebase, introduce relaymode package, update constants and improve consistency 2024-04-06 05:18:04 +00:00
adaptor.go feat: support aws bedrockruntime claude3 2024-04-18 02:52:26 +00:00