🎨 style(tests): add display_name field to LLM in test_agents_template.py and test_chains_template.py
The display_name field was added to the LLM object in the test_agents_template.py and test_chains_template.py files. This field is used to display the name of the LLM in the UI.
This commit is contained in:
parent
7228274b0d
commit
5dfaa9a81a
2 changed files with 6 additions and 0 deletions
|
|
@ -82,6 +82,7 @@ def test_json_agent(client: TestClient):
|
|||
"type": "BaseLanguageModel",
|
||||
"list": False,
|
||||
"advanced": False,
|
||||
"display_name": "LLM",
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -120,6 +121,7 @@ def test_csv_agent(client: TestClient):
|
|||
"type": "BaseLanguageModel",
|
||||
"list": False,
|
||||
"advanced": False,
|
||||
"display_name": "LLM",
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -183,4 +185,5 @@ def test_initialize_agent(client: TestClient):
|
|||
"type": "BaseLanguageModel",
|
||||
"list": False,
|
||||
"advanced": False,
|
||||
"display_name": "LLM",
|
||||
}
|
||||
|
|
|
|||
|
|
@ -326,6 +326,7 @@ def test_series_character_chain(client: TestClient):
|
|||
|
||||
assert template["llm"] == {
|
||||
"required": True,
|
||||
"display_name": "LLM",
|
||||
"placeholder": "",
|
||||
"show": True,
|
||||
"multiline": False,
|
||||
|
|
@ -388,6 +389,7 @@ def test_mid_journey_prompt_chain(client: TestClient):
|
|||
|
||||
assert template["llm"] == {
|
||||
"required": True,
|
||||
"display_name": "LLM",
|
||||
"placeholder": "",
|
||||
"show": True,
|
||||
"multiline": False,
|
||||
|
|
@ -427,6 +429,7 @@ def test_time_travel_guide_chain(client: TestClient):
|
|||
assert template["llm"] == {
|
||||
"required": True,
|
||||
"placeholder": "",
|
||||
"display_name": "LLM",
|
||||
"show": True,
|
||||
"multiline": False,
|
||||
"password": False,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue