🔧 chore(OpenAIConversationalAgent.py): add display names for 'tools', 'memory', 'system_message', and 'max_token_limit' parameters to improve readability and user experience
This commit is contained in:
parent
33ef3b0a7e
commit
b0a2258232
1 changed files with 4 additions and 1 deletions
|
|
@ -26,7 +26,10 @@ class ConversationalAgent(CustomComponent):
|
||||||
"gpt-4-32k-0613",
|
"gpt-4-32k-0613",
|
||||||
]
|
]
|
||||||
return {
|
return {
|
||||||
"tools": {"is_list": True},
|
"tools": {"is_list": True, "display_name": "Tools"},
|
||||||
|
"memory": {"display_name": "Memory"},
|
||||||
|
"system_message": {"display_name": "System Message"},
|
||||||
|
"max_token_limit": {"display_name": "Max Token Limit"},
|
||||||
"model_name": {
|
"model_name": {
|
||||||
"display_name": "Model Name",
|
"display_name": "Model Name",
|
||||||
"options": openai_function_models,
|
"options": openai_function_models,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue