Skip to content

Conversation

@1caiji23
Copy link

@1caiji23 1caiji23 commented Aug 8, 2025

…ite database. I also removed the Telegram integration, replacing it with a database-based notification system, and switched the LLM provider to Moonshot.

Here are the main changes:

  • Database: The database backend has been updated to support both PostgreSQL and SQLite. The default configuration is now set to use a local SQLite database.
  • Configuration: The configuration has been simplified and adapted for local execution. The config.yml file is now used to store local settings, including the LLM API key.
  • LLM: The LLM service has been updated to use the Moonshot API, with the model and API key configurable in config.yml.
  • Telegram Removal: The Telegram notification service has been completely removed and replaced with a DatabaseNotificationService that writes notifications to a new notifications table in the database.
  • Manual Bounty Input: The Immunefi indexer has been modified to read bounty information from a local bounties.json file, allowing for manual input.
  • Error Handling: The application has been made more resilient to missing block explorer API keys and other environment-specific issues.
  • Dependencies: The requirements.txt file has been updated to remove PostgreSQL and Telegram-specific dependencies and add aiosqlite.

…ite database. I also removed the Telegram integration, replacing it with a database-based notification system, and switched the LLM provider to Moonshot.

Here are the main changes:

- **Database:** The database backend has been updated to support both PostgreSQL and SQLite. The default configuration is now set to use a local SQLite database.
- **Configuration:** The configuration has been simplified and adapted for local execution. The `config.yml` file is now used to store local settings, including the LLM API key.
- **LLM:** The LLM service has been updated to use the Moonshot API, with the model and API key configurable in `config.yml`.
- **Telegram Removal:** The Telegram notification service has been completely removed and replaced with a `DatabaseNotificationService` that writes notifications to a new `notifications` table in the database.
- **Manual Bounty Input:** The Immunefi indexer has been modified to read bounty information from a local `bounties.json` file, allowing for manual input.
- **Error Handling:** The application has been made more resilient to missing block explorer API keys and other environment-specific issues.
- **Dependencies:** The `requirements.txt` file has been updated to remove PostgreSQL and Telegram-specific dependencies and add `aiosqlite`.
@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@muellerberndt
Copy link
Owner

Hey thanks for the PR! Those are some big changes packed into a single PR. Would you mind splitting those changes up into 7 separate PRs, one for each feature? Then I'll review them one-by-one.

Also, please make sure to sign the Contributor License Agreement.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants