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

Move Block._validate to llmblock #191

Merged
merged 1 commit into from
Jul 24, 2024
Merged

Conversation

derekhiggins
Copy link
Contributor

@derekhiggins derekhiggins commented Jul 23, 2024

The custom "validate" function in ConditionalLLMBlock wasn't
being called and renaming it "_validate" is problematic as its
static. Instead move it to LLMBlock and change it to a instance
method as only LLMBlock uses it.

Closes #186

Co-authored-by: abhi1092 [email protected]

The custom "validate" function in ConditionalLLMBlock wasn't
being called and renaming it "_validate" is problematic as its
static. Instead move it to LLMBlock and change it to a instance
method as only LLMBlock uses it.

Closes instructlab#186

Co-authored-by: abhi1092 <[email protected]>

Signed-off-by: Derek Higgins <[email protected]>
@derekhiggins derekhiggins changed the title Call self.validate from llmblock Move Block._validate to llmblock Jul 23, 2024
@markmc markmc added this to the 0.2.1 milestone Jul 23, 2024
@markmc markmc merged commit 6f73ebb into instructlab:main Jul 24, 2024
11 checks 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.

Fix ConditionalLLMBlock prompt template validation
2 participants