Skip to content

Commit

Permalink
feat: Allow Python 3.10 and 3.11 in addition to 3.12
Browse files Browse the repository at this point in the history
feat: Changed logging priorities
  • Loading branch information
slashtechno committed May 18, 2024
1 parent fe8b45e commit c2f6883
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 6 deletions.
4 changes: 2 additions & 2 deletions llmail/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ def fetch_and_process_emails(
)
)
email_threads[parent_email_id] = email_thread
logger.info(
logger.debug(
f"Created new thread for email {message_id} sent at {timestamp}"
)

Expand Down Expand Up @@ -279,7 +279,7 @@ def fetch_and_process_emails(
model=args.openai_model,
)

logger.debug(f"Keys in email_threads: {len(email_threads.keys())}")
logger.info(f"Current number of email threads: {len(email_threads.keys())}")


# Function to check if an email has been read
Expand Down
33 changes: 31 additions & 2 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "llmail"
version = "0.2.3"
version = "0.2.4"
description = "Interact with LLMs via email"
authors = ["slashtechno <[email protected]>"]
repository = "https://github.com/slashtechno/llmail"
Expand All @@ -9,7 +9,7 @@ license = "GNU Affero General Public License v3"
readme = "README.md"

[tool.poetry.dependencies]
python = "^3.11"
python = ">=3.10.0,<4.0.0"
loguru = "^0.7.2"
python-dotenv = "^1.0.1"
imapclient = "^3.0.1"
Expand Down

0 comments on commit c2f6883

Please sign in to comment.