Validate/Remove trailing slash in host name

Created on 27 June 2025, 9 days ago

Problem/Motivation

$client->models() in LiteLlmAiConfigForm::validateForm will throw exception if hostname has trailing slash in it.

Steps to reproduce

Add trailing slash to working host name and it will show error message 'The API Key is invalid.'

Proposed resolution

Either update description something like 'The base URL that API requests should be made against without trailing slash.' or add validation.

Remaining tasks

User interface changes

API changes

Data model changes

📌 Task
Status

Active

Version

1.1

Component

Code

Created by

🇮🇳India narendraR Jaipur, India

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024