langchain.llms.koboldai.clean_url

langchain.llms.koboldai.clean_url(url: str) str[source]

Remove trailing slash and /api from url if present.