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

Model: Fix inline loading and draft key #225

Merged
merged 8 commits into from
Oct 25, 2024
Merged

Model: Fix inline loading and draft key #225

merged 8 commits into from
Oct 25, 2024

Conversation

kingbri1
Copy link
Member

Bypasses template:

Fix inline load with draft models and rename the provided key internally to be consistent.

There was a lack of foresight between the new config.yml and how
it was structured. The "draft" key became "draft_model" without updating
both the API request and inline loading keys.

For the API requests, still support "draft" as legacy, but the "draft_model"
key is preferred.

Signed-off-by: kingbri <[email protected]>
Was not pushed before and caused errors of the kwargs being None.

Signed-off-by: kingbri <[email protected]>
Draft model args weren't applying since there was a reset due to how
the old override behavior worked.

Signed-off-by: kingbri <[email protected]>
Use embedding_model_name to be inline with the config.

Signed-off-by: kingbri <[email protected]>
Alias name to draft_model_name.

Signed-off-by: kingbri <[email protected]>
Add prompt_template_name to be more descriptive.

Signed-off-by: kingbri <[email protected]>
Alias name to model_name for config parity.

Signed-off-by: kingbri <[email protected]>
@kingbri1 kingbri1 merged commit 6e48bb4 into main Oct 25, 2024
1 check passed
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.

1 participant