Oliver-ai-bot_2.0/backend/app/models/__init__.py
Vadym Samoilenko ec932ce54f feat: API key auth for agent execution + code interpreter admin dashboard
- Add ApiKey model, migration (028), CRUD endpoints (/admin/api-keys/)
- get_current_user_or_api_key dependency: JWT Bearer or X-API-Key header
- Agent execute endpoint now accepts API keys (super_admin only to create)
- ApiKeysTab UI: list, create (one-time key reveal), revoke, delete
- Wired ApiKeysTab into admin page (super_admin only)
- Add /admin/code-interpreter page with iframe to LibreCodeInterpreter dashboard
- Expose code-interpreter on 127.0.0.1:8100 for Apache proxy
- deploy.sh: note Apache proxy rule for /nexus-code-interpreter/

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-30 20:22:27 +01:00

9 lines
307 B
Python

"""
SQLAlchemy ORM Models
"""
from .user import User # noqa: F401
from .agent import Agent # noqa: F401
from .slash_command import SlashCommand # noqa: F401
from .announcement import Announcement # noqa: F401
from .feedback import MessageFeedback # noqa: F401
from .api_key import ApiKey # noqa: F401