### What problem does this PR solve? #2492 ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)tags/v0.12.0
| raise ValueError("Local llm url cannot be None") | raise ValueError("Local llm url cannot be None") | ||||
| if base_url.split("/")[-1] != "v1": | if base_url.split("/")[-1] != "v1": | ||||
| base_url = os.path.join(base_url, "v1") | base_url = os.path.join(base_url, "v1") | ||||
| key = "xxx" | |||||
| super().__init__(key, model_name, base_url) | super().__init__(key, model_name, base_url) | ||||