You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: Resolve type checking issues in output logging
Fix type annotation and variable naming issues identified by mypy:
- Change output_token_ids parameter type from list[int] to Sequence[int]
to handle compatibility with different sequence types from output objects
- Fix variable naming conflict in tool call logging (tool_call_info -> tool_call_descriptions)
- Add proper type conversion in log_outputs method for truncation
- Update test imports to include Sequence type
These fixes ensure the output logging feature passes mypy type checking
while maintaining full functionality and backward compatibility.
Signed-off-by: Adrian Garcia <adrian.garcia@inceptionai.ai>
0 commit comments