Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Set execution timeout for a tool
from upsonic.tools import tool @tool( timeout=30.0, # 30 seconds timeout max_retries=3 ) def api_request(url: str) -> str: """ Make an API request with timeout. Args: url: URL to request Returns: API response """ import requests response = requests.get(url) return response.text
timeout
max_retries