one-api/relay/adaptor
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
..
ai360 Refactor codebase, introduce relaymode package, update constants and improve consistency 2024-04-06 05:18:04 +00:00
aiproxy Refactor codebase, introduce relaymode package, update constants and improve consistency 2024-04-06 05:18:04 +00:00
ali Refactor codebase, introduce relaymode package, update constants and improve consistency 2024-04-06 05:18:04 +00:00
anthropic feat: support aws bedrockruntime claude3 2024-04-18 02:52:26 +00:00
aws fix: Update AWS adapter to handle stream completions and calculate usage metrics 2024-04-18 04:00:48 +00:00
azure Refactor codebase, introduce relaymode package, update constants and improve consistency 2024-04-06 05:18:04 +00:00
baichuan Refactor codebase, introduce relaymode package, update constants and improve consistency 2024-04-06 05:18:04 +00:00
baidu Refactor codebase, introduce relaymode package, update constants and improve consistency 2024-04-06 05:18:04 +00:00
gemini Merge commit 'af543ab8ecb6827cbbc151c2cff181cdc3286274' 2024-04-08 01:13:00 +00:00
groq Refactor codebase, introduce relaymode package, update constants and improve consistency 2024-04-06 05:18:04 +00:00
lingyiwanwu Refactor codebase, introduce relaymode package, update constants and improve consistency 2024-04-06 05:18:04 +00:00
minimax Refactor codebase, introduce relaymode package, update constants and improve consistency 2024-04-06 05:18:04 +00:00
mistral Refactor codebase, introduce relaymode package, update constants and improve consistency 2024-04-06 05:18:04 +00:00
moonshot Refactor codebase, introduce relaymode package, update constants and improve consistency 2024-04-06 05:18:04 +00:00
ollama Refactor codebase, introduce relaymode package, update constants and improve consistency 2024-04-06 05:18:04 +00:00
openai Merge commit '7bf61f916504097ac23efb765b938d8f94c342ce' 2024-04-17 05:18:58 +00:00
palm Refactor codebase, introduce relaymode package, update constants and improve consistency 2024-04-06 05:18:04 +00:00
stepfun Refactor codebase, introduce relaymode package, update constants and improve consistency 2024-04-06 05:18:04 +00:00
tencent Refactor codebase, introduce relaymode package, update constants and improve consistency 2024-04-06 05:18:04 +00:00
xunfei Refactor codebase, introduce relaymode package, update constants and improve consistency 2024-04-06 05:18:04 +00:00
zhipu Refactor codebase, introduce relaymode package, update constants and improve consistency 2024-04-06 05:18:04 +00:00
common.go Refactor codebase, introduce relaymode package, update constants and improve consistency 2024-04-06 05:18:04 +00:00
interface.go Refactor codebase, introduce relaymode package, update constants and improve consistency 2024-04-06 05:18:04 +00:00