Skip to content

Commit 69c6e08

Browse files
committed
test
1 parent df77abc commit 69c6e08

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

tests/test_sdk.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1301,16 +1301,6 @@ def check_project_kb(self, project, database, mock_get, mock_del, mock_post, moc
13011301
},
13021302
}}}
13031303

1304-
# completion
1305-
kb.completion('hi', type='chat', llm_model='gpt-4')
1306-
args, kwargs = mock_post.call_args
1307-
assert args[0] == f'{DEFAULT_CLOUD_API_URL}/api/projects/{project.name}/knowledge_bases/{kb.name}/completions'
1308-
assert kwargs == {'json': {
1309-
'query': 'hi',
1310-
'type': 'chat',
1311-
'llm_model': 'gpt-4',
1312-
}}
1313-
13141304
# drop
13151305
project.knowledge_bases.drop('kb2')
13161306

0 commit comments

Comments
 (0)