Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: enhance LLM configuration and initialization #12

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

konvar
Copy link

@konvar konvar commented Nov 23, 2024

BREAKING CHANGE: Complete overhaul of LLM configuration and initialization system

Core Changes:

  • Add dynamic model selection for all LLM backends
  • Implement availability checking for all LLM types

Features:

  • Add color-coded menu for LLM backend selection
  • Show setup instructions for unconfigured backends
  • Add real-time status checks for all LLM types
  • Implement proper error handling and user feedback

Configuration:

  • Clear Gemini API key
  • Reset Ollama model name
  • Add proper validation for model paths and API keys

Security:

  • Add checks for default/placeholder values
  • Improve error messages for missing credentials

Dependencies:

  • Add google-generativeai>=0.3.0 to requirements.txt

BREAKING CHANGE: Complete overhaul of LLM configuration and initialization system

Core Changes:
- Add dynamic model selection for all LLM backends
- Implement availability checking for all LLM types

Features:
- Add color-coded menu for LLM backend selection
- Show setup instructions for unconfigured backends
- Add real-time status checks for all LLM types
- Implement proper error handling and user feedback

Configuration:
- Clear Gemini API key
- Reset Ollama model name
- Add proper validation for model paths and API keys

Security:
- Add checks for default/placeholder values
- Improve error messages for missing credentials

Dependencies:
- Add google-generativeai>=0.3.0 to requirements.txt
@konvar
Copy link
Author

konvar commented Nov 23, 2024

I thought I was modifying https://github.com/TheBlewish/Automated-AI-Web-Researcher-Ollama 🤣 only after I finished I did realize that I had modified an older project.
I wanted to add Gemini after seeing a Reddit comment saying that Gemini has a large context window and I realized he was right. I hope you can copy or get inspired 😢

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.

1 participant