Fix API tests (#581)

* Fix RAG streaming CLIs

* Fixed, all tests pass
This commit is contained in:
cybermaggedon 2025-12-04 21:11:56 +00:00 committed by GitHub
parent 664bce6182
commit 789d9713a0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 199 additions and 299 deletions

View file

@ -135,7 +135,8 @@ class TestSetToolStructuredQuery:
arguments=[],
group=None,
state=None,
applicable_states=None
applicable_states=None,
token=None
)
def test_set_main_structured_query_no_arguments_needed(self):
@ -313,7 +314,7 @@ class TestShowToolsStructuredQuery:
show_main()
mock_show.assert_called_once_with(url='http://custom.com')
mock_show.assert_called_once_with(url='http://custom.com', token=None)
class TestStructuredQueryToolValidation: