Skip to content

[upstream #16245] #16245: Match endpoint names with surrounding whitespace in the list filter #133

Description

@berry-13

From LibreChat-AI#16245 (LibreChat-AI#16245 (comment)).

parseEndpoints trims each requested endpoint name, but endpointSchema permits custom endpoint names with leading or trailing whitespace and conversations store the name verbatim, so filtering by such an endpoint matches nothing. Either match the exact configured value (trim only to detect blank entries) or normalize endpoint names at the config and persistence boundaries.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: packagesreviewctl followups statebugSomething isn't workingreadyreviewctl followups state

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions