Skip to content

Enhance LLM integration and configuration in the backend - #5

Merged
0xdevabir merged 1 commit into
mainfrom
sayed-ai
Oct 7, 2026
Merged

0xdevabir merged 1 commit into
mainfrom
sayed-ai

Conversation

@sayedio

@sayedio sayedio commented Oct 7, 2026

Copy link
Copy Markdown
Collaborator
  • Updated .env.example to include new LLM provider configurations and parameters.
  • Modified config.py to support multiple LLM providers with specific API keys and settings.
  • Refactored app.py to utilize a new LLM chain for narrative generation, falling back to the original LLM narrator if necessary.
  • Improved narrative handling in alerts.py to include provider information in cached notes.
  • Introduced a Draft class in narrative.py to encapsulate LLM responses, including text and provider details.
  • Updated documentation in DECISION_POLICY.md to reflect changes in LLM usage and provider prioritization.
  • Enhanced frontend components to display the provider of the LLM-generated notes and improved error messaging for rejected drafts.

- Updated `.env.example` to include new LLM provider configurations and parameters.
- Modified `config.py` to support multiple LLM providers with specific API keys and settings.
- Refactored `app.py` to utilize a new LLM chain for narrative generation, falling back to the original LLM narrator if necessary.
- Improved narrative handling in `alerts.py` to include provider information in cached notes.
- Introduced a `Draft` class in `narrative.py` to encapsulate LLM responses, including text and provider details.
- Updated documentation in `DECISION_POLICY.md` to reflect changes in LLM usage and provider prioritization.
- Enhanced frontend components to display the provider of the LLM-generated notes and improved error messaging for rejected drafts.
@0xdevabir
0xdevabir merged commit 10fa6ec into main Oct 7, 2026
3 checks passed
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.

2 participants