From 2a13cb49f34ab8772ea967c50fca916bdc15f546 Mon Sep 17 00:00:00 2001 From: Array Date: Thu, 20 Mar 2025 12:25:53 +0800 Subject: [PATCH] feat: modular non-intrusive Amazon Bedrock support, add config example --- config/config.example.toml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/config/config.example.toml b/config/config.example.toml index d5750a2..f85f626 100644 --- a/config/config.example.toml +++ b/config/config.example.toml @@ -6,6 +6,14 @@ api_key = "YOUR_API_KEY" # Your API key max_tokens = 8192 # Maximum number of tokens in the response temperature = 0.0 # Controls randomness +# [llm] # Amazon Bedrock +# api_type = "aws" # Required +# model = "us.anthropic.claude-3-7-sonnet-20250219-v1:0" # Bedrock supported modelID +# base_url = "bedrock-runtime.us-west-2.amazonaws.com" # Not used now +# max_tokens = 8192 +# temperature = 1.0 +# api_key = "bear" # Required but not used for Bedrock + # [llm] #AZURE OPENAI: # api_type= 'azure' # model = "YOUR_MODEL_NAME" #"gpt-4o-mini"