()
| 93 | server.load_tool("arxiv") |
| 94 | |
| 95 | def load_google_places_tool(): |
| 96 | GPLACES_API_KEY = os.environ.get('GPLACES_API_KEY', '') |
| 97 | if not GPLACES_API_KEY: |
| 98 | raise RuntimeError("GPLACES_API_KEY not provided, please register one from https://developers.google.com/maps/documentation/elevation/get-api-key and add it to environment variables.") |
| 99 | server.load_tool("google_places", {"subscription_key": GPLACES_API_KEY}) |
| 100 | |
| 101 | def load_google_serper_tool(): |
| 102 | SERPER_API_KEY = os.environ.get('SERPER_API_KEY', None) |
no test coverage detected