Skip to content
This repository was archived by the owner on Aug 15, 2025. It is now read-only.

Conversation

@jkpe
Copy link
Collaborator

@jkpe jkpe commented Mar 31, 2025

1. Redis State Storage

  • Added Redis as an alternative to file-based storage for user preferences
  • Implemented RedisStateStore class with full CRUD operations
  • Added environment variable configuration for Redis connection
  • Enhanced logging and error handling for state operations
  • Updated relevant files to use Redis state management

Additional Updates

  • Improved logging throughout the application with emoji indicators
  • Updated app home text from "Bolty" to "Sailor"
  • Changed loading message to "Adjusting the sails..."
  • Enhanced error handling and logging in provider response generation
  • Updated documentation in README.md to reflect new features

Setup

To use Redis storage:

  1. Set the REDIS_URL environment variable:
export REDIS_URL=<your-redis-connection-string>

To use GenAI:

  1. Set required environment variables:
export GENAI_API_KEY=<your-api-key>
export GENAI_API_URL=<api-endpoint> # defaults to https://api.genai.example.com/v1

Dependencies

  • Added redis==5.2.1 to requirements.txt

@jkpe jkpe merged commit f3c9921 into main Mar 31, 2025
@jkpe jkpe deleted the redis branch April 1, 2025 11:16
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants