anupamking01
anupamking01
## Summary `ContextualAIParseTool._run()` submits a Contextual AI parse job and then polls its status in an unconditional `while True` loop: ```python status_url = f"{base_url}/parse/jobs/{job_id}/status" while True: result = requests.get(status_url, headers=headers,...
### Checked other resources - [x] This is a bug, not a usage question. - [x] I searched the issue tracker for `RedisCache`, `namespace`, `colon`, and `cache collision`. - [x]...
### Description `RedisCache.clear()` treats an explicit empty namespace `()` as a wildcard for the entire cache prefix. `BaseCache.clear()` distinguishes: - `namespaces is None` → clear all cached values; - a...
## Summary `DeepResearchSkill.deep_research()` has a zero-query guard immediately after `generate_search_queries()`, but the guard returns variables that are initialized only **after** the guard. On current `main`, the control flow is effectively:...
## Summary `GPTResearcher.__init__()` currently initializes `visited_urls` with: ```python self.visited_urls = visited_urls or set() ``` That replaces a caller-provided **empty set** with a new set because an empty set is falsy....
## Summary `multi_agents/main.py` checks `MONOCLE_TRACING`, `MONOCLE_EXPORTERS`, `OKAHU_API_KEY`, and `LANGCHAIN_API_KEY` before calling `load_dotenv()`. As a result, tracing settings placed in the project's `.env` file are invisible during those checks unless they...
## Summary `OpenAlexSearch.search()` catches request/HTTP failures, but parses the response body only after leaving that `try` block: ```python try: response = requests.get(self.BASE_URL, params=params, timeout=10) response.raise_for_status() except requests.RequestException as e: print(f"An...
## Summary `SemanticScholarSearch.search()` currently performs its external request without a timeout and parses the response body outside the request-error guard: ```python try: response = requests.get(self.BASE_URL, params=params) response.raise_for_status() except requests.RequestException as...
## Summary `BingSearch.search()` currently calls the external Bing endpoint without a timeout or request-error guard: ```python resp = requests.get(url, headers=headers, params=params) ``` That leaves two reliability gaps in a core...
MCP capability derived IDs collide for different servers on the same host/path but different ports
## Description `pydantic_ai.capabilities.MCP` derives a default capability/toolset id from only the parsed hostname plus the last path segment: ```python parsed = urlparse(url) path = parsed.path.rstrip('/') slug = path.split('/')[-1] if path...