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

fix(weave): Add model to provider info map to source code, add make command for updating #2825

Merged
merged 3 commits into from
Oct 31, 2024

Conversation

KyleGoyette
Copy link
Contributor

Description

  • Fixes WB-NNNNN
  • Fixes #NNNN

What does the PR do? Include a concise description of the PR contents.

Testing

How was this PR tested?

@KyleGoyette KyleGoyette requested a review from a team as a code owner October 30, 2024 19:40
@circle-job-mirror
Copy link

circle-job-mirror bot commented Oct 30, 2024

@@ -5,7 +5,8 @@
import requests

model_providers_url = "https://raw.githubusercontent.com/BerriAI/litellm/main/model_prices_and_context_window.json"
MODEL_PROVIDERS_FILE = "model_providers.json"
MODEL_PROVIDERS_FILE = "/tmp/model_providers/model_providers.json"
Copy link
Member

Choose a reason for hiding this comment

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

on second thought... lets check this file in like done with costs.json.

@KyleGoyette KyleGoyette force-pushed the kyle/fix-model-providers-path branch from a9ad0b2 to 849451f Compare October 30, 2024 21:01
@KyleGoyette KyleGoyette changed the title fix(weave): Use /tmp/model_providers/model_providers.json as path to store provider info fix(weave): Add model to provider info map to source code, add make command for updating Oct 30, 2024
@raubitsj raubitsj self-requested a review October 31, 2024 02:07
@raubitsj raubitsj merged commit c39db4f into master Oct 31, 2024
115 of 116 checks passed
@raubitsj raubitsj deleted the kyle/fix-model-providers-path branch October 31, 2024 02:21
@github-actions github-actions bot locked and limited conversation to collaborators Oct 31, 2024
@KyleGoyette KyleGoyette restored the kyle/fix-model-providers-path branch October 31, 2024 16:37
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants