🐛 fix args unit test
This commit is contained in:
parent
335b1e3547
commit
afe700e70a
1 changed files with 4 additions and 2 deletions
|
|
@ -51,10 +51,12 @@ class TestBaseLLM:
|
|||
|
||||
def test_llm_collect_args(self):
|
||||
options = CompletionOptions(model=self.model)
|
||||
assert self.llm.collect_args(options) == {
|
||||
args = self.llm.collect_args(options)
|
||||
for k, v in {
|
||||
**DEFAULT_ARGS,
|
||||
"model": self.model,
|
||||
}
|
||||
}.items():
|
||||
assert args[k] == v
|
||||
|
||||
@pytest.mark.skipif(SPEND_MONEY is False, reason="Costs money")
|
||||
@async_test
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue