Skip to content

[Bug]: Model @ feature incorrectly shows endpoint models when a modelSpec is used #5823

@rba100

Description

@rba100

What happened?

The expected behaviour is that only modelSpec model options should be presented as an @ mention if modelSpec has been defined in the config.

Even as the USER role, both the modelSpec and the endpoints that back them will be shown in the @ mention menu. Whilst those backing models cannot be successfully selected they are a potential confusion to see.

Another bug could compound user confusion: If a user does not have a model selected ("none selected" in top left) they will still be able to submit messages, but get an error. Expected behaviour, if a model is not selected the chat input is disabled (either text input, or the send button).

Another confusion: if you try to select a non-modelSpec model using @, the selected model will be "none selected" but the central icon that appears in empty/new chats will nonetheless reflect the underlying vendor logo for that endpoint.

Version Information

Version 0.76 (librechat-dev:6c33dc2eb37a152334ae5fc2bb2e84c13c7cb311)

Steps to Reproduce

Configure an endpoint, such as Azure, and then configure a modelSpec to use it.

What browsers are you seeing the problem on?

No response

Relevant log output

Screenshots

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

Labels

🐛 bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions