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

Set default adapter source #223

Merged
merged 4 commits into from
Feb 5, 2024
Merged

Set default adapter source #223

merged 4 commits into from
Feb 5, 2024

Conversation

magdyksaleh
Copy link
Collaborator

@magdyksaleh magdyksaleh commented Feb 5, 2024

Closes #199

/// "adapter ID" for the base model. The base model does not have an adapter ID,
/// but we reason about it in the same way. This must match the base model ID
/// used in the Python server.
pub const BASE_MODEL_ADAPTER_ID: &str = "__base_model__";

/// default adapter source. One TODO is to figure out how to do this
/// from within the proto definition, or lib.rs
pub const DEFAULT_ADAPTER_SOURCE: &str = "hub";
// pub const DEFAULT_ADAPTER_SOURCE: &str = "hub";
Copy link
Contributor

Choose a reason for hiding this comment

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

Remove?

remove old comment
Copy link
Contributor

@tgaddair tgaddair left a comment

Choose a reason for hiding this comment

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

Nice! LGTM :)

@magdyksaleh magdyksaleh merged commit a4f0e75 into main Feb 5, 2024
1 check passed
@magdyksaleh magdyksaleh deleted the add-adapter-source-local branch February 5, 2024 22:46
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.

Using local adapter via OpenAI API
2 participants