Skip to content

Commit bdcd676

Browse files
committed
fix: expose llm alias for patching
1 parent 4fee270 commit bdcd676

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
### Internal
1212

1313
- Clean up ty type-checking for optional sqlean/llm imports.
14+
- Add an llm module alias for test patching.
1415

1516
## 1.18.0
1617

litecli/packages/special/llm.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@
2929
from .main import Verbosity, parse_special_command
3030
from .types import DBCursor
3131

32+
# Alias for tests and patching.
33+
llm = llm_module
34+
3235
LLM_IMPORTED = llm_module is not None
3336

3437
cli: click.Command | None

0 commit comments

Comments
 (0)