Spaces:
Configuration error
Configuration error
Download plugins/web/parallel/__init__.py from Jackken/deepseek-harness: direct link, hf CLI and curl.
- Browser
- Download file 573 Bytes
-
https://huggingface.co/spaces/Jackken/deepseek-harness/resolve/main/plugins/web/parallel/__init__.py
- Command line
-
hf download hf://spaces/Jackken/deepseek-harness/plugins/web/parallel/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/Jackken/deepseek-harness/resolve/main/plugins/web/parallel/__init__.py
573 Bytes
| """Parallel.ai web search + extract plugin — bundled, auto-loaded. | |
| First plugin in this repo to expose an async :meth:`extract` — Parallel's | |
| SDK is async-native (``AsyncParallel.beta.extract``). The web_extract_tool | |
| dispatcher detects coroutines via :func:`inspect.iscoroutinefunction` and | |
| awaits. | |
| """ | |
| from __future__ import annotations | |
| from plugins.web.parallel.provider import ParallelWebSearchProvider | |
| def register(ctx) -> None: | |
| """Register the Parallel provider with the plugin context.""" | |
| ctx.register_web_search_provider(ParallelWebSearchProvider()) | |