Task Description
Set up LLM configuration (Gemini or XAI) for advanced fixes.
Options
-
Google Gemini (Recommended):
-
xAI (Grok):
Setup
# Option 1: Gemini
export GEMINI_API_KEY="your_key_here"
# Option 2: XAI
export XAI_API_KEY="your_key_here"
Testing
# Test LLM fixes
python3 photonos-docs-lecturer.py run \
--website https://127.0.0.1/docs-v5 \
--local-webserver /var/www/photon-site \
--fix 9 \
--llm gemini \
--GEMINI_API_KEY $GEMINI_API_KEY
Decision Points
- Which LLM provider to use?
- Budget/cost limits?
- Make LLM optional or required?
Acceptance Criteria
- ✅ API key obtained and configured
- ✅ LLM fixes tested successfully
- ✅ Cost/performance acceptable
- ✅ Decision on optional vs required
Related
Labels
lecturer-integration, configuration, llm, medium
Task Description
Set up LLM configuration (Gemini or XAI) for advanced fixes.
Options
Google Gemini (Recommended):
xAI (Grok):
Setup
Testing
Decision Points
Acceptance Criteria
Related
Labels
lecturer-integration,configuration,llm,medium