move tests to test_sendchat.py

This commit is contained in:
Paul Gauthier 2023-07-21 14:17:14 -03:00
parent d0be8d4cbd
commit 28578217da
3 changed files with 43 additions and 46 deletions

View file

@ -196,7 +196,8 @@ class Coder:
for fname in self.get_inchat_relative_files():
self.io.tool_output(f"Added {fname} to the chat.")
self.repo.add_new_files(fnames)
if self.repo:
self.repo.add_new_files(fnames)
# validate the functions jsonschema
if self.functions: