Connection
Base URL, credentials and a reachable server.
Inspect ipv6_text.py for zero-run ties while keeping scoped addresses outside its accepted input.
Base URL, credentials and a reachable server.
A model available through the configured endpoint.
Context limits and tool support are determined by the model and server.
from ipaddress import IPv6Address
def ipv6_text(text):
if type(text) is not str or not text or ":" not in text:
raise ValueError("ipv6.input")
if "%" in text or text.strip() != text:
raise ValueError("ipv6.scope")
return IPv6Address(text).compressed