Spaces:
Runtime error
Runtime error
Commit History
-
Refactor query logic in MemoryStore for improved filtering
eriquesouza- Updated the query construction in `MemoryStore` to use a more structured approach with `$and` for combining filters. - Simplified the handling of `active_only` and `type_filter` parameters to enhance readability and maintainability.d617b55 -
Refactor agent to use OpenRouter API and update memory handling
eriquesouza- Replaced `anthropic` client with `httpx` for API calls in `agent.py`. - Updated memory creation in `memory_store.py` to allow optional `created_at` parameter. - Enhanced seed memories in `seeds.py` with `created_at` timestamps. - Modified HTML in `static/index.html` to display creation and last accessed dates for memories.cc75af5
-
Add initial implementation of retail business advisor agent with memory management
eriquesouza- Created core files: `agent.py` for agent logic, `memory_store.py` for memory handling, and `models.py` for data structures. - Implemented FastAPI app in `main.py` with endpoints for chat and memory management. - Added initial seed memories in `seeds.py` and a static HTML interface in `static/index.html`. - Updated `.gitignore` to include environment files and database directory. - Included a README with setup instructions and project structure.0d61e07