Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Comments

Close side panel

fix: don't error out if serve/chat model don't match#2756

Merged
mergify[bot] merged 1 commit intoinstructlab:maininstructlab/instructlab:mainfrom
jaideepr97:serve-chatjaideepr97/instructlab:serve-chatCopy head branch name to clipboard
Dec 6, 2024
Merged

fix: don't error out if serve/chat model don't match#2756
mergify[bot] merged 1 commit intoinstructlab:maininstructlab/instructlab:mainfrom
jaideepr97:serve-chatjaideepr97/instructlab:serve-chatCopy head branch name to clipboard

Conversation

@jaideepr97
Copy link
Contributor

We supply a default model to ilab model chat. If this does not match the model being served separately (if there is one), instead of erroring out we should inform the user that we are ignoring what they supplied in favor of what is being served

Checklist:

  • Commit Message Formatting: Commit titles and messages follow guidelines in the
    conventional commits.
  • Changelog updated with breaking and/or notable changes for the next minor release.
  • Documentation has been updated, if necessary.
  • Unit tests have been added, if necessary.
  • Functional tests have been added, if necessary.
  • E2E Workflow tests have been added, if necessary.

@mergify mergify bot added the ci-failure PR has at least one CI failure label Dec 6, 2024
src/instructlab/model/chat.py Outdated Show resolved Hide resolved
src/instructlab/model/chat.py Outdated Show resolved Hide resolved
@mergify mergify bot removed the ci-failure PR has at least one CI failure label Dec 6, 2024
Copy link
Member

@nathan-weinberg nathan-weinberg left a comment

Choose a reason for hiding this comment

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

LGTM

@mergify mergify bot added one-approval PR has one approval from a maintainer ci-failure PR has at least one CI failure labels Dec 6, 2024
@cdoern
Copy link
Contributor

cdoern commented Dec 6, 2024

going to force merge this if only failure is macOS functional tests due to #2753

@mergify mergify bot removed ci-failure PR has at least one CI failure one-approval PR has one approval from a maintainer labels Dec 6, 2024
@jaideepr97
Copy link
Contributor Author

going to force merge this if only failure is macOS functional tests due to #2753

testing again

@mergify mergify bot added the ci-failure PR has at least one CI failure label Dec 6, 2024
@mergify mergify bot added testing Relates to testing ci-failure PR has at least one CI failure and removed ci-failure PR has at least one CI failure labels Dec 6, 2024
@cdoern
Copy link
Contributor

cdoern commented Dec 6, 2024

@Mergifyio rebase

Signed-off-by: Jaideep Rao <jrao@redhat.com>
@mergify
Copy link
Contributor

mergify bot commented Dec 6, 2024

rebase

✅ Branch has been successfully rebased

@cdoern
Copy link
Contributor

cdoern commented Dec 6, 2024

should fix CI

@cdoern
Copy link
Contributor

cdoern commented Dec 6, 2024

@Mergifyio backport release-v0.21

@mergify
Copy link
Contributor

mergify bot commented Dec 6, 2024

backport release-v0.21

✅ Backports have been created

Details

@mergify mergify bot added ci-failure PR has at least one CI failure and removed ci-failure PR has at least one CI failure labels Dec 6, 2024
@mergify mergify bot merged commit d68c5a1 into instructlab:main Dec 6, 2024
mergify bot added a commit that referenced this pull request Dec 7, 2024
…#2762)

We supply a default model to `ilab model chat`. If this does not match the model being served separately (if there is one), instead of erroring out we should inform the user that we are ignoring what they supplied in favor of what is being served 





**Checklist:**

- [ ] **Commit Message Formatting**: Commit titles and messages follow guidelines in the
  [conventional commits](https://www.conventionalcommits.org/en/v1.0.0/#summary).
- [ ] [Changelog](https://github.com/instructlab/instructlab/blob/main/CHANGELOG.md) updated with breaking and/or notable changes for the next minor release.
- [ ] Documentation has been updated, if necessary.
- [ ] Unit tests have been added, if necessary.
- [ ] Functional tests have been added, if necessary.
- [ ] E2E Workflow tests have been added, if necessary.
<hr>This is an automatic backport of pull request #2756 done by [Mergify](https://mergify.com).


Approved-by: cdoern

Approved-by: jaideepr97

Approved-by: alinaryan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

testing Relates to testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.