feat: unsplash api proxy (#6572)

This commit is contained in:
darkskygit
2024-04-16 13:33:07 +00:00
parent bb329944ed
commit 677c4711df
7 changed files with 56 additions and 6 deletions

View File

@@ -21,6 +21,7 @@ AFFiNE.ENV_MAP = {
THROTTLE_LIMIT: ['rateLimiter.limit', 'int'],
COPILOT_OPENAI_API_KEY: 'plugins.copilot.openai.apiKey',
COPILOT_FAL_API_KEY: 'plugins.copilot.fal.apiKey',
COPILOT_UNSPLASH_API_KEY: 'plugins.copilot.unsplashKey',
REDIS_SERVER_HOST: 'plugins.redis.host',
REDIS_SERVER_PORT: ['plugins.redis.port', 'int'],
REDIS_SERVER_USER: 'plugins.redis.username',