Skip to content

fix: memory_request click convert fn properly handles int default#3226

Merged
mikewilli merged 1 commit into
mainfrom
hotfix-memory-request-converter
May 26, 2026
Merged

fix: memory_request click convert fn properly handles int default#3226
mikewilli merged 1 commit into
mainfrom
hotfix-memory-request-converter

Conversation

@mikewilli
Copy link
Copy Markdown
Contributor

The default value (i.e., not providing --memory-request at all) is an int and the convert function errors on this when attempting to call value[-1]. Adding an isinstance check fixes it.

@mikewilli mikewilli requested a review from scholtzan May 26, 2026 18:02
@mikewilli mikewilli enabled auto-merge May 26, 2026 18:02
@mikewilli mikewilli disabled auto-merge May 26, 2026 18:06
@mikewilli mikewilli added this pull request to the merge queue May 26, 2026
Merged via the queue into main with commit 28bbb69 May 26, 2026
4 checks passed
@mikewilli mikewilli deleted the hotfix-memory-request-converter branch May 26, 2026 20:30
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