in aidial_assistant/open_api/requester.py [0:0]
def _construct_path(self, args: Dict[str, str]) -> str:
"""Construct the path from the deserialized input."""
path = self.operation.base_url.rstrip("/") + self.operation.path # type: ignore
for param in self.param_mapping.path_params:
path = path.replace(f"{{{param}}}", str(args.pop(param, "")))
return path