mirror of
https://github.com/rennf93/roboco.git
synced 2026-08-03 07:23:24 +02:00
1.5 KiB
1.5 KiB
Knowledge Base Troubleshooting
Empty Search Results
Problem: roboco_kb_search() returns nothing
Causes:
- Content not indexed yet
- Query too specific
- Wrong index type filter
Solutions:
- Check what's indexed:
roboco_kb_stats() - Broaden query terms
- Remove index_types filter
- Trigger reindex:
roboco_reindex_all()
Empty RAG Response
Problem: roboco_rag_query() returns empty answer
Causes:
- No relevant context found
- LLM returned thinking tags only
- Query too vague
Solutions:
- Check KB has relevant content
- Rephrase query to be more specific
- Use
roboco_kb_search()first to verify content exists
Mentor Not Responding
Problem: roboco_ask_mentor() fails or empty
Causes:
- LLM timeout
- No relevant KB content
- Service temporarily unavailable
Solutions:
- Retry the query
- Check KB stats
- Use
roboco_kb_search()as fallback
Index Failed
Problem: roboco_kb_index_code() or roboco_kb_index_docs() fails
Causes:
- Invalid file patterns
- Files not accessible
- Embedding service down
Solutions:
- Verify file patterns match files
- Check file permissions
- Verify Ollama is running
Cannot Clear Index
Problem: "Not authorized to clear index"
Cause: Only PM/CEO can clear indexes
Solution: Ask PM or CEO to clear if needed
Proactive Context Empty
Problem: roboco_get_proactive_context() returns empty
Cause: No relevant context found for task
Solution: Manual search with roboco_kb_search() using task keywords