🔄 Refresh Model Profiles #94
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Refreshes model profile data by pulling the latest metadata from models.dev | |
| # via the `langchain-profiles` CLI (hosted in langchain-ai/langchain). | |
| # | |
| # Creates a pull request with any changes. Runs daily and can be triggered | |
| # manually from the Actions UI. | |
| name: "🔄 Refresh Model Profiles" | |
| on: | |
| schedule: | |
| - cron: "0 8 * * *" | |
| workflow_dispatch: | |
| permissions: | |
| contents: write | |
| pull-requests: write | |
| jobs: | |
| refresh-profiles: | |
| uses: langchain-ai/langchain/.github/workflows/_refresh_model_profiles.yml@master | |
| with: | |
| providers: >- | |
| [ | |
| {"provider":"google", "data_dir":"libs/genai/langchain_google_genai/data"}, | |
| {"provider":"google-vertex", "data_dir":"libs/vertexai/langchain_google_vertexai/data"}, | |
| {"provider":"anthropic", "data_dir":"libs/vertexai/langchain_google_vertexai/data/anthropic"} | |
| ] | |
| secrets: | |
| MODEL_PROFILE_BOT_APP_ID: ${{ secrets.MODEL_PROFILE_BOT_APP_ID }} | |
| MODEL_PROFILE_BOT_PRIVATE_KEY: ${{ secrets.MODEL_PROFILE_BOT_PRIVATE_KEY }} |