Skip to content

Port ellmer's Model class: separate model configuration from Provider #502

Open

Description

@cpsievert

ellmer 0.5.0 introduced a Model class that separates model configuration (name, parameters, extra arguments) from the Provider class, which now only captures API endpoint details (tidyverse/ellmer#1098). Chat gained (), and provider@model, provider@params, and provider@extra_args were deprecated in favor of the Model object.

This is the largest remaining unported ellmer 0.5.0 feature. It's architectural rather than user-facing, but it keeps the two projects aligned and simplifies provider implementations.

chatlas considerations:

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions