# elizaOS Development Discord - 2025-01-25

## Overall Discussion Highlights

### RAG Functionality Issues
- Users reported knowledge retrieval failing in the develop branch while directory loading failed in v0.1.8
- kAI wilder investigated and found that knowledge was being retrieved properly but the LLM was omitting important information
- Embedding matches were no longer being logged, reducing transparency in the retrieval process

### Multi-Agent Configuration
- Several users discussed approaches for running multiple agents within a single project
- The recommended approach involves using the `--characters` parameter with comma-separated character files
- Adding client credentials directly to character files helps avoid conflicts between agents

### Ollama Integration
- Users troubleshooted using Ollama with Eliza, encountering connection errors despite Ollama running locally
- Setting `modelProvider` to "ollama" in the character file is required
- Running Ollama with commands like "ollama serve" or "ollama run llama3.2" is necessary before connecting

### New Features
- The News Plugin has been merged, allowing users to get the latest news about specific topics using newsapi.org
- Interest in social media integration was expressed, with requests for Facebook/Instagram and Twitter posting capabilities

## Key Questions & Answers

**Q: What is the correct approach in setting up multiple agents in one project?**  
A: Use `--characters` with a comma-separated list of character files, and add client credentials directly to character files to avoid conflicts.

**Q: Why is Eliza looking for an API key when using Ollama locally?**  
A: You need to set `modelProvider` to "ollama" in the character file.

**Q: How can I fix the "connect ECONNREFUSED ::1:11434" error when using Ollama?**  
A: Ensure Ollama is running with "ollama serve" or "ollama run llama3.2".

**Q: My agent keeps defaulting to the Eliza character despite having worked before. What could be wrong?**  
A: Check for bracket errors in your character file that might be causing JSON parsing issues.

## Community Help & Collaboration

1. **Multi-Agent Configuration Help**
   - D. Ratta and Odilitime helped WarfreakzPlays set up multiple agents in one project
   - They provided command syntax and configuration approaches to avoid credential conflicts

2. **Ollama Integration Support**
   - D. Ratta guided WarfreakzPlays through setting up Ollama with Eliza
   - Explained the necessary configuration changes and troubleshooted connection errors

3. **Character File Debugging**
   - D. Ratta suggested checking for bracket errors when All$InKay reported their agent defaulting to Eliza behavior

## Action Items

### Technical
- Fix RAG functionality in develop branch (mentioned by kAI wilder)
- Fix knowledge directory loading in v0.1.8 (mentioned by kAI wilder)
- Check character file for bracket errors to fix agent defaulting to Eliza (mentioned by D. Ratta)

### Feature
- Log fragment matching for RAG to restore previously available embedding match logging (mentioned by kAI wilder)
- News Plugin has been merged for getting latest news using newsapi.org (mentioned by CheddarQueso 🧀)
- Develop social media posting capability for Facebook/Instagram (mentioned by hannie.)
- Implement Twitter posting functionality for selected users on X.com (mentioned by apshaldenai192)

### Documentation
- Document Ollama integration with Eliza with clear setup steps (mentioned by WarfreakzPlays)