From 82e74cc49974af07119da2befd3f6c335a33ef39 Mon Sep 17 00:00:00 2001 From: ddling Date: Sat, 21 Jun 2025 19:05:38 +0800 Subject: [PATCH] Add Huawei Cloud MaaS example config --- config/config.example-model-huaweicloudmaas.toml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 config/config.example-model-huaweicloudmaas.toml diff --git a/config/config.example-model-huaweicloudmaas.toml b/config/config.example-model-huaweicloudmaas.toml new file mode 100644 index 000000000..f23ef4a00 --- /dev/null +++ b/config/config.example-model-huaweicloudmaas.toml @@ -0,0 +1,11 @@ +# Global LLM configuration +# Get Huawei Cloud MaaS Api Key +# https://console.huaweicloud.com/modelarts/?locale=zh-cn®ion=cn-southwest-2#/model-studio/authmanage +# Get Huawei Cloud Maas Model List +# https://console.huaweicloud.com/modelarts/?locale=zh-cn®ion=cn-southwest-2#/model-studio/deployment +[llm] +model = "DeepSeek-R1" # The LLM model to use +base_url = "https://api.modelarts-maas.com/v1" # API endpoint URL +api_key = "" # Your API key +max_tokens = 16000 # Maximum number of tokens in the response +temperature = 0.7 # Controls randomness \ No newline at end of file