🐛 fix(test_cli.py): update CLI command in test_components_path to use 'serve' subcommand for better clarity and consistency
🐛 fix(test_llms_template.py): update description of `model` to use backticks and remove unnecessary comment
This commit is contained in:
parent
59a08cd645
commit
1c498e78df
2 changed files with 2 additions and 3 deletions
|
|
@ -23,7 +23,7 @@ def test_components_path(runner, client, default_settings):
|
|||
|
||||
result = runner.invoke(
|
||||
app,
|
||||
["--components-path", str(temp_dir), *default_settings],
|
||||
["serve", "--components-path", str(temp_dir), *default_settings],
|
||||
)
|
||||
assert result.exit_code == 0, result.stdout
|
||||
settings_manager = utils.get_settings_manager()
|
||||
|
|
|
|||
|
|
@ -542,8 +542,7 @@ def test_chat_open_ai(client: TestClient, logged_in_headers):
|
|||
}
|
||||
assert template["_type"] == "ChatOpenAI"
|
||||
assert (
|
||||
model["description"]
|
||||
== "Wrapper around OpenAI Chat large language models." # noqa E501
|
||||
model["description"] == "`OpenAI` Chat large language models API." # noqa E501
|
||||
)
|
||||
assert set(model["base_classes"]) == {
|
||||
"BaseLLM",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue