Fix handling of -q and -s, add pre-commit checks.
This commit is contained in:
@@ -51,7 +51,7 @@ def create_chat(question: Optional[str],
|
||||
extags: Optional[List[str]],
|
||||
config: Dict[str, Any]
|
||||
) -> List[Dict[str, str]]:
|
||||
chat = []
|
||||
chat: List[Dict[str, str]] = []
|
||||
append_message(chat, 'system', config['system'].strip())
|
||||
for file in sorted(pathlib.Path(config['db']).iterdir()):
|
||||
if file.suffix == '.yaml':
|
||||
|
||||
Reference in New Issue
Block a user