refactor deployment config and exchange integrations
Simplify runtime configuration and remove legacy database and settings surface so new installs are easier to operate. Refresh deployment assets, docs, and order execution behavior to keep the packaged app aligned with the current backend. Made-with: Cursor
This commit is contained in:
@@ -81,18 +81,6 @@ class MetaAPIKeys(type):
|
||||
return [k.strip() for k in val.split(',') if k.strip()]
|
||||
return []
|
||||
|
||||
@property
|
||||
def BOCHA_API_KEYS(cls):
|
||||
"""Bocha Search API keys (comma-separated for rotation)"""
|
||||
env_val = os.getenv('BOCHA_API_KEYS', '').strip()
|
||||
if env_val:
|
||||
return [k.strip() for k in env_val.split(',') if k.strip()]
|
||||
from app.utils.config_loader import load_addon_config
|
||||
val = load_addon_config().get('bocha', {}).get('api_keys', '')
|
||||
if val:
|
||||
return [k.strip() for k in val.split(',') if k.strip()]
|
||||
return []
|
||||
|
||||
@property
|
||||
def SERPAPI_KEYS(cls):
|
||||
"""SerpAPI keys (comma-separated for rotation)"""
|
||||
|
||||
Reference in New Issue
Block a user