Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Model search doesn't work properly. #2367

Closed
4 tasks
MicahZoltu opened this issue May 18, 2024 · 1 comment
Closed
4 tasks

Model search doesn't work properly. #2367

MicahZoltu opened this issue May 18, 2024 · 1 comment

Comments

@MicahZoltu
Copy link

Bug Report

Description

Bug Summary:
If you have a large number of models, when you try to search for a model by name it doesn't always show all matches.

Steps to Reproduce:

  1. Put https://api.together.xyz and an API key in as OpenAI credentials.
  2. Go to new chat.
  3. Try to search for Llama-3
  4. Notice that it isn't found.
  5. Search for meta-llama.
  6. Notice that there is a model named meta-llama/Llama-3-70b-chat-hf (and several others) that should have showed up in the search.
  7. Attempt to search for meta-llama/Llama.
  8. Notice that no results show up again.

Expected Behavior:
Expected search to do partial match anywhere in the name.

Actual Behavior:
It appears to only match up to the first /. I'm not sure what significance the separator has, but it is breaking search.

Environment

  • Open WebUI Version: v0.1.123
  • Operating System: Docker image running in Ubuntu WSL in Windows 11
  • Browser (if applicable): Firefox 125.0.3

Reproduction Details

Confirmation:

  • I have read and followed all the instructions provided in the README.md.
  • I am on the latest version of both Open WebUI and Ollama.
  • I have included the browser console logs.
  • I have included the Docker container logs.

Logs and Screenshots

Browser Console Logs:
None appear during search.

Docker Container Logs:
None appear during search.

Screenshots (if applicable):
N/A - can provide if needed, but repro steps hopefully are clear enough.

Installation Method

Docker.

@tjbck
Copy link
Contributor

tjbck commented May 18, 2024

Fixed on dev.

@tjbck tjbck closed this as completed May 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants