()
| 119 | server.load_tool("shell") |
| 120 | |
| 121 | def load_image_generation_tool(): |
| 122 | STEAMSHIP_API_KEY = os.environ.get('STEAMSHIP_API_KEY', None) |
| 123 | if not STEAMSHIP_API_KEY: |
| 124 | raise RuntimeError("STEAMSHIP_API_KEY is not provided. Please sign up for a free account at https://steamship.com/account/api, create a new API key, and add it to environment variables.") |
| 125 | server.load_tool("image_generation") |
| 126 | |
| 127 | def load_hugging_tools(): |
| 128 | HUGGINGFACE_API_KEY = os.environ.get('HUGGINGFACE_API_KEY', None) |
no test coverage detected