Skip to content

Conversation

@rlouf
Copy link
Contributor

@rlouf rlouf commented Apr 20, 2025

This PR updates the outlines integration to use outlines-core's latest interface.


def commit_token(self, t: int) -> bool:
ok = t in self.res
ok = True
Copy link
Member

Choose a reason for hiding this comment

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

Don't you need to check check if token is in mask? It seem advance() will throw if givan in invalid token?

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.

2 participants