Skip to content

fix truncation#170

Open
RensDimmendaal wants to merge 1 commit into
mainfrom
fix-truncation
Open

fix truncation#170
RensDimmendaal wants to merge 1 commit into
mainfrom
fix-truncation

Conversation

@RensDimmendaal
Copy link
Copy Markdown
Contributor

@RensDimmendaal RensDimmendaal commented Jun 3, 2026

This PR fixes response truncation. The issue was that s.rstrip() always returned a str even though s could be a subclass of str such as FullResponse or Safe. I also added some tests.

I also updated the gemini test model as i got an error that the previous one doesnt exist anymore when running the tests locally.

I've made an identical PR to fastllm.

@RensDimmendaal RensDimmendaal requested a review from jph00 June 3, 2026 11:25
@RensDimmendaal RensDimmendaal added the bug Something isn't working label Jun 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant