Skip to content

Commit 9d86147

Browse files
authored
fix: SparkLite API Auth error (#12781) (#12790)
1 parent 80801ac commit 9d86147

File tree

1 file changed

+1
-1
lines changed
  • api/core/model_runtime/model_providers/spark/llm

1 file changed

+1
-1
lines changed

api/core/model_runtime/model_providers/spark/llm/_client.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def __init__(self, model: str, app_id: str, api_key: str, api_secret: str, api_d
2121
domain = api_domain
2222

2323
model_api_configs = {
24-
"spark-lite": {"version": "v1.1", "chat_domain": "general"},
24+
"spark-lite": {"version": "v1.1", "chat_domain": "lite"},
2525
"spark-pro": {"version": "v3.1", "chat_domain": "generalv3"},
2626
"spark-pro-128k": {"version": "pro-128k", "chat_domain": "pro-128k"},
2727
"spark-max": {"version": "v3.5", "chat_domain": "generalv3.5"},

0 commit comments

Comments
 (0)