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

feat: add trimsuffix #1528

Merged
merged 1 commit into from
Jan 1, 2024
Merged

feat: add trimsuffix #1528

merged 1 commit into from
Jan 1, 2024

Conversation

mudler
Copy link
Owner

@mudler mudler commented Jan 1, 2024

Description

This PR adds a trimsuffix option to cut portions of results out (useful for phi-2 for instance that always returns a newline).

Copy link

netlify bot commented Jan 1, 2024

Deploy Preview for localai canceled.

Name Link
🔨 Latest commit f5fa6f1
🔍 Latest deploy log https://app.netlify.com/sites/localai/deploys/6592a0935a104400086a7d2c

Copy link

netlify bot commented Jan 1, 2024

Deploy Preview for localai canceled.

Name Link
🔨 Latest commit 427fbf8
🔍 Latest deploy log https://app.netlify.com/sites/localai/deploys/6592a09c15aa4000086a98e7

@mudler mudler added the enhancement New feature or request label Jan 1, 2024
@mudler mudler merged commit 85e2767 into master Jan 1, 2024
29 checks passed
@mudler mudler deleted the trim_suffix branch January 1, 2024 13:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant