Skip to content

fix: guard find_code_blocks against None LM response - #175

Open
AaryanPuri wants to merge 1 commit into
alexzhang13:mainfrom
AaryanPuri:fix/none-response-crash
Open

fix: guard find_code_blocks against None LM response#175
AaryanPuri wants to merge 1 commit into
alexzhang13:mainfrom
AaryanPuri:fix/none-response-crash

Conversation

@AaryanPuri

Copy link
Copy Markdown

Guards find_code_blocks() against a None LM response, which was crashing the RLM loop with a TypeError. Added regression tests.

Fixes #166

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.

find_code_blocks() crashes with TypeError when LM response is None

1 participant