Adds a new agent tool `text_to_img` that generates a placeholder image from text and uploads it to a MinIO server, returning a public URL. Key changes: - Adds `minio` and `Pillow` to project dependencies. - Creates a reusable MinIO utility module in `src/utils/minio_utils.py` to handle file uploads and bucket management. - Refactors the agent tool to use this new utility, separating concerns and simplifying the tool's implementation. - Replaces the previous hardcoded URL with a real, functional image upload process. |
||
|---|---|---|
| .. | ||
| chatbot | ||
| common | ||
| react | ||
| __init__.py | ||