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

Use public Replicate API to fetch model data #12

Merged
merged 7 commits into from
Feb 8, 2024

Commits on Feb 7, 2024

  1. make getModel an async method

    to make room for it being a Replicate API call
    zeke committed Feb 7, 2024
    Configuration menu
    Copy the full SHA
    f932118 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d5d5296 View commit details
    Browse the repository at this point in the history
  3. move model derivation stuff downscript

    so it can happen after we've set an API token, so we can switch this model metadata fetching step from cache-package-based to using the Replicate API instead
    zeke committed Feb 7, 2024
    Configuration menu
    Copy the full SHA
    c95815c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7022304 View commit details
    Browse the repository at this point in the history
  5. tidy up output

    zeke committed Feb 7, 2024
    Configuration menu
    Copy the full SHA
    5df27db View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    6e9258c View commit details
    Browse the repository at this point in the history
  7. use public Replicate API to get model metadata

    and test it. getting that mocking setup right was the hard part 😅
    zeke committed Feb 7, 2024
    Configuration menu
    Copy the full SHA
    9160524 View commit details
    Browse the repository at this point in the history