A small, production-style FastAPI backend that puts an AI agent behind an HTTP API. You send it a message, it calls a language model (MiniMax, via the OpenAI-compatible API), runs a tool if needed, ...
# Render 提供的 DATABASE_URL 可能是 postgres://... # SQLAlchemy 1.4+ 需要 postgresql:// ...