[kimi] refactor: extract helpers from chat() (#627) #686
Reference in New Issue
Block a user
Delete Branch "kimi/issue-627"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes #627
Summary
_read_message_input(message: list[str]) -> str— handles joining CLI args and stdin reading_resolve_session_id(session_id, new_session) -> str— resolves effective session IDchat()is now a thin orchestrator calling these two helpersTest plan
tox -e unit: 1889 passed, 0 failed (256 pre-existing ERRORs from missing modules — same on main)tox -e lint: cleantox -e format: clean