Merge branch 'dev' of https://github.com/logspace-ai/langflow into backend_refactor
This commit is contained in:
commit
2283039e71
1 changed files with 2 additions and 2 deletions
|
|
@ -281,7 +281,7 @@ def format_dict(d, name: Optional[str] = None):
|
|||
"prefix",
|
||||
"examples",
|
||||
"temperature",
|
||||
"model_name",
|
||||
# "model_name",
|
||||
]
|
||||
or "api_key" in key
|
||||
)
|
||||
|
|
@ -301,6 +301,6 @@ def format_dict(d, name: Optional[str] = None):
|
|||
|
||||
# Add options to openai
|
||||
if name == "OpenAI" and key == "model_name":
|
||||
value["options"] = ["gpt-3.5-turbo", "text-davinci-003", "text-davinci-002"]
|
||||
value["options"] = ["text-davinci-003", "text-davinci-002"]
|
||||
|
||||
return d
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue