1
0
Fork 0

Merging upstream version 1.14.4.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-02-09 17:57:29 +01:00
parent b87d920aaa
commit 51881c9ebd
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
4 changed files with 27 additions and 8 deletions

View file

@ -444,7 +444,7 @@ class LiteCli(object):
if special.is_llm_command(text):
try:
start = time()
cur = self.sqlexecute.conn.cursor()
cur = self.sqlexecute.conn and self.sqlexecute.conn.cursor()
context, sql = special.handle_llm(text, cur)
if context:
click.echo(context)