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

Add support for auto-refreshing available models based on an API call #3576

Merged
merged 3 commits into from
Jan 5, 2025

Conversation

Weves
Copy link
Contributor

@Weves Weves commented Jan 2, 2025

Description

See title.

How Has This Been Tested?

Tested with LiteLLM proxy locally (LLM_MODEL_UPDATE_API_URL=http://localhost:4000/model/info).

Backporting (check the box to trigger backport action)

Note: You have to check that the action passes, otherwise resolve the conflicts manually and tag the patches.

  • This PR should be backported (make sure to check that the backport attempt succeeds)

Copy link

vercel bot commented Jan 2, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
internal-search ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 2, 2025 3:26am

Copy link
Contributor

@rkuo-danswer rkuo-danswer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would there be any possibility of a race condition if this task were to overlap with itself? I'm not entirely sure it's possible due to the expiration settings we have for tasks, but worth thinking about.

@Weves Weves merged commit e83542f into main Jan 5, 2025
13 checks passed
@Weves Weves deleted the auto-refresh-models branch January 5, 2025 23:45
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

Successfully merging this pull request may close these issues.

2 participants