Skip to content

Fix return type of PromptMonitor._async_get to match 3-element tuple#597

Merged
gnachman merged 1 commit intognachman:masterfrom
mkusaka:fix/prompt-tuple-element-count
Mar 2, 2026
Merged

Fix return type of PromptMonitor._async_get to match 3-element tuple#597
gnachman merged 1 commit intognachman:masterfrom
mkusaka:fix/prompt-tuple-element-count

Conversation

@mkusaka
Copy link
Contributor

@mkusaka mkusaka commented Feb 28, 2026

Summary

_async_get was annotated as returning Tuple[Mode, Any] but all return statements produce a 3-element tuple (mode, value, unique_prompt_id). Updated the annotation to Tuple[Mode, Any, Optional[str]].

@gnachman gnachman merged commit 93bf0f0 into gnachman:master Mar 2, 2026
2 checks passed
@mkusaka mkusaka deleted the fix/prompt-tuple-element-count branch March 2, 2026 06:37
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