refactor(voice-engine): extract Gemini Live event loop into native_se…#54
refactor(voice-engine): extract Gemini Live event loop into native_se…#54
Conversation
|
Claude finished @jjleng's task in 1m 4s —— View job Code Review
The refactoring is clean and well-scoped — Minor IssuesInconsistent The file imports use tracing::{error, info, warn};But line 63 uses the fully qualified form instead of the imported one: tracing::error!("[native] No Gemini API key ...");Lines 102 and 481 correctly use the bare Inconsistent use of Types from
These would read more clearly as top-level imports matching the rest of the file's style. Fix this →
The function currently takes 13 arguments. This attribute suppresses the lint rather than addressing it. Since this is a refactor, it's a good opportunity to bundle the arguments into a struct (e.g., Nit
Overall: clean extraction, good module doc with audio-path diagram. The two style issues (tracing macro + inline crate paths) are the only things worth fixing before merge. |
d493ab5 to
7cda5a5
Compare
…ssion module