mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-08-03 09:34:04 +00:00
fix: wrong assign
This commit is contained in:
parent
1c56fca566
commit
3e52803704
@ -20,7 +20,7 @@ def chatgpt_generate_stream(
|
||||
print(f"Model: {model}, model_params: {model_params}")
|
||||
|
||||
proxy_api_key = model_params.proxy_api_key
|
||||
openai.api_key = openai_key = os.getenv("OPENAI_API_KEY") or proxy_api_key
|
||||
openai.api_key = os.getenv("OPENAI_API_KEY") or proxy_api_key
|
||||
proxyllm_backend = model_params.proxyllm_backend
|
||||
if not proxyllm_backend:
|
||||
proxyllm_backend = "gpt-3.5-turbo"
|
||||
|
Loading…
Reference in New Issue
Block a user