- Replace single Redis client with connection pool for better concurrency and auto-reconnection
- Add graceful degradation when Redis is unavailable (None handling in get_users_needing_refresh)
- Add RedisError exception handling with fallback to process all users on mget failures
- Add type hints (Optional[redis.StrictRedis]) to Redis client parameters
- Add health check and socket timeout configuration to connection pool
- Add logging for Redis connection failures and degradation events
- Reorganize imports alphabetically for consistency across both files
- Update get_sync_redis_client to validate connection with ping() before returning
* release/v0.2.6:
fix(web): ontology class default tag bugfix
fix(version): Version 0.2.6 Release Notes
fix(web): chat file delete bugfix
feat: support model load balancing and add message_id to API responses
feat: support model load balancing and add message_id to API responses
[changes] Work space isolation
[add] Recently, memory activities have adopted Redis caching.
[changes] Work space isolation
[add] Recently, memory activities have adopted Redis caching.
fix(web): upload add loading
[changes] The enumeration check has been changed to a string.
[changes] The enumeration check has been changed to a string.
feat(web): http-request add headers variable
fix(workflow): ensure file messages are written to messages in non-stream mode
fix(workflow): fix Dify compatibility issues
[changes] Memory write completion active failure interest cache
feat(workflow): support multimodal context
[changes] AI review and correction of code
[add] Semantic pruning is unified with the ontology engineering scenario.
feat(chat): add message_id field to chat API response
- Change REDIS_DB_CELERY_BROKER default from 1 to 3
- Change REDIS_DB_CELERY_BACKEND default from 2 to 4
- Add documentation comments explaining DB isolation strategy
- Prevent task interference when multiple developers share same Redis instance
1. From the model square to the model list, the added models are initially set to be inactive. When manually activating them, a mandatory API key configuration is required.
2. Copying of applications (agent, workflow, multi_agent)
- Replace BROKER_URL and RESULT_BACKEND with REDIS_DB_CELERY_BROKER and REDIS_DB_CELERY_BACKEND in README.md
- Replace BROKER_URL and RESULT_BACKEND with REDIS_DB_CELERY_BROKER and REDIS_DB_CELERY_BACKEND in README_CN.md
- Update api/env.example with new variable names and add deprecation notice
- Add reference to celery-env-bug-report.md documentation explaining why old variable names are avoided
- Prevents environment variable hijacking by Celery CLI when using standard naming conventions