langchain_community.llms.koboldai.clean_url¶

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

Remove trailing slash and /api from url if present.

Parameters

url (str) –

Return type

str